Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit d8ba907

Browse files
committedJul 12, 2024
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 <shengjing.zhu@canonical.com>
1 parent ce4ddc7 commit d8ba907

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -678,7 +678,7 @@ extensions: make_configure
678678
@$(MAKE) do_extensions
679679

680680
do_extensions:
681-
@$(MAKE) -C extensions -i TARGET=$(TARGET) TARGET_CFLAGS="$(TARGET_CFLAGS)" GDB=$(GDB) GDB_FLAGS=$(GDB_FLAGS)
681+
@$(MAKE) -C extensions -i TARGET=$(TARGET) TARGET_CFLAGS="$(CFLAGS) $(TARGET_CFLAGS)" GDB=$(GDB) GDB_FLAGS=$(GDB_FLAGS)
682682

683683
memory_driver: make_configure
684684
@$(MAKE) -C memory_driver -i

0 commit comments

Comments
 (0)
Please sign in to comment.