summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorBamvor Jian Zhang <bamvor.zhangjian@linaro.org>2015-09-09 21:06:26 +0800
committerShuah Khan <shuahkh@osg.samsung.com>2015-09-14 16:42:55 -0600
commitcc19ada7340b5ed87a94ea381ff7ade6a053b2f3 (patch)
tree83ce79c3c5fb59c2c3f8a32ae2c8bff6b3ae294d /tools
parent1087d019176df7e406387de3fe76129c74d24081 (diff)
downloadlinux-cc19ada7340b5ed87a94ea381ff7ade6a053b2f3.tar.bz2
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>
Diffstat (limited to 'tools')
-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