Append EXTRA_CFLAGS to CFLAGS so that additional flags can be applied to
the compiler.
Acked-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Signed-off-by: Leo Yan <leo.yan@arm.com>
---
tools/tracing/latency/Makefile | 1 +
1 file changed, 1 insertion(+)
diff --git a/tools/tracing/latency/Makefile b/tools/tracing/latency/Makefile
index 257a56b1899f23837de533353e9c2cebdb6035bd..d32a6a13753035355f0e3a05bf88870b8aa55f64 100644
--- a/tools/tracing/latency/Makefile
+++ b/tools/tracing/latency/Makefile
@@ -57,6 +57,7 @@ ifeq ($(config),1)
endif
CFLAGS += $(INCLUDES) $(LIB_INCLUDES)
+CFLAGS += $(EXTRA_CFLAGS)
export CFLAGS OUTPUT srctree
--
2.34.1