[PATCH v3 26/30] tools: verification: Append extra cflags
From: Leo Yan
Date: Sun Mar 08 2026 - 12:59:43 EST
Append EXTRA_CFLAGS to CFLAGS so that additional flags can be applied to
the compiler.
Signed-off-by: Leo Yan <leo.yan@xxxxxxx>
---
tools/verification/rv/Makefile | 1 +
1 file changed, 1 insertion(+)
diff --git a/tools/verification/rv/Makefile b/tools/verification/rv/Makefile
index 5b898360ba4818b12e8a16c27bd88c75d0076fb9..2882f0e93dca03b31d790b42d2ee3d8f73cc5c8b 100644
--- a/tools/verification/rv/Makefile
+++ b/tools/verification/rv/Makefile
@@ -55,6 +55,7 @@ ifeq ($(config),1)
include Makefile.config
endif
+CFLAGS += $(EXTRA_CFLAGS)
CFLAGS += $(INCLUDES) $(LIB_INCLUDES)
export CFLAGS OUTPUT srctree
--
2.34.1