selftests: mqueue: allow extra cflags
authorBamvor Jian Zhang <[email protected]>
Wed, 9 Sep 2015 13:06:26 +0000 (21:06 +0800)
committerShuah Khan <[email protected]>
Mon, 14 Sep 2015 22:42:55 +0000 (16:42 -0600)
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 <[email protected]>
Signed-off-by: Bamvor Jian Zhang <[email protected]>
Acked-by: Michael Ellerman <[email protected]>
Signed-off-by: Shuah Khan <[email protected]>
tools/testing/selftests/mqueue/Makefile

index 0e3b41eb85cde2cd553bda36ac0b09f43553ceb8..ca8327f020b95fbb7c05d51ced70f1e1d8e48175 100644 (file)
@@ -1,4 +1,4 @@
-CFLAGS = -O2
+CFLAGS += -O2
 
 all:
        $(CC) $(CFLAGS) mq_open_tests.c -o mq_open_tests -lrt