From: Bamvor Jian Zhang Date: Wed, 9 Sep 2015 13:06:26 +0000 (+0800) Subject: selftests: mqueue: allow extra cflags X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=cc19ada7340b5ed87a94ea381ff7ade6a053b2f3;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Bamvor Jian Zhang Acked-by: Michael Ellerman Signed-off-by: Shuah Khan --- 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