浏览代码

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>
Bamvor Jian Zhang 10 年之前
父节点
当前提交
cc19ada734
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tools/testing/selftests/mqueue/Makefile

+ 1 - 1
tools/testing/selftests/mqueue/Makefile

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