From d8ba907a2309410a5e41691eef4a0a5d459518d7 Mon Sep 17 00:00:00 2001 From: Shengjing Zhu Date: Fri, 12 Jul 2024 17:42:00 +0800 Subject: [PATCH] Makefile: Pass CFLAGS when building extensions When building the extensions in distributions, ensure they are built with the CFLAGS from distributions build system. Signed-off-by: Shengjing Zhu --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 60dad187..1e77b158 100644 --- a/Makefile +++ b/Makefile @@ -678,7 +678,7 @@ extensions: make_configure @$(MAKE) do_extensions do_extensions: - @$(MAKE) -C extensions -i TARGET=$(TARGET) TARGET_CFLAGS="$(TARGET_CFLAGS)" GDB=$(GDB) GDB_FLAGS=$(GDB_FLAGS) + @$(MAKE) -C extensions -i TARGET=$(TARGET) TARGET_CFLAGS="$(CFLAGS) $(TARGET_CFLAGS)" GDB=$(GDB) GDB_FLAGS=$(GDB_FLAGS) memory_driver: make_configure @$(MAKE) -C memory_driver -i