Skip to content

Commit

Permalink
Makefile: Pass CFLAGS when building extensions
Browse files Browse the repository at this point in the history
When building the extensions in distributions, ensure they are built
with the CFLAGS from distributions build system.

Signed-off-by: Shengjing Zhu <[email protected]>
  • Loading branch information
zhsj committed Jul 12, 2024
1 parent ce4ddc7 commit d8ba907
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit d8ba907

Please sign in to comment.