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>
This commit is contained in:
Bamvor Jian Zhang 2015-09-09 21:06:26 +08:00 committed by Shuah Khan
parent 1087d01917
commit cc19ada734

View file

@ -1,4 +1,4 @@
CFLAGS = -O2
CFLAGS += -O2
all:
$(CC) $(CFLAGS) mq_open_tests.c -o mq_open_tests -lrt