summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBamvor Jian Zhang <bamvor.zhangjian@linaro.org>2015-09-09 15:06:26 +0200
committerShuah Khan <shuahkh@osg.samsung.com>2015-09-15 00:42:55 +0200
commitcc19ada7340b5ed87a94ea381ff7ade6a053b2f3 (patch)
tree83ce79c3c5fb59c2c3f8a32ae2c8bff6b3ae294d
parentselftests: rename jump label to static_keys (diff)
downloadlinux-cc19ada7340b5ed87a94ea381ff7ade6a053b2f3.tar.xz
linux-cc19ada7340b5ed87a94ea381ff7ade6a053b2f3.zip
selftests: mqueue: allow extra cflags
Change from = to += in order to allows the user to pass whatever CFLAGS they wish(E.g. pass the proper headers and librareis (popt.h and libpopt.so) in cross-compiling) Suggested-by: Michael Ellerman <mpe@ellerman.id.au> Signed-off-by: Bamvor Jian Zhang <bamvor.zhangjian@linaro.org> Acked-by: Michael Ellerman <mpe@ellerman.id.au> Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
-rw-r--r--tools/testing/selftests/mqueue/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/mqueue/Makefile b/tools/testing/selftests/mqueue/Makefile
index 0e3b41eb85cd..ca8327f020b9 100644
--- a/tools/testing/selftests/mqueue/Makefile
+++ b/tools/testing/selftests/mqueue/Makefile
@@ -1,4 +1,4 @@
-CFLAGS = -O2
+CFLAGS += -O2
all:
$(CC) $(CFLAGS) mq_open_tests.c -o mq_open_tests -lrt