Skip to content

Commit

Permalink
selftests: mqueue: allow extra cflags
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Bamvor Jian Zhang authored and Shuah Khan committed Sep 14, 2015
1 parent 1087d01 commit cc19ada
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/testing/selftests/mqueue/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
CFLAGS = -O2
CFLAGS += -O2

all:
$(CC) $(CFLAGS) mq_open_tests.c -o mq_open_tests -lrt
Expand Down

0 comments on commit cc19ada

Please sign in to comment.