Skip to content

Commit f4788a5

Browse files
committed
Merge branch 'ps/make-append-to-cflags'
To help developers, the build procedure now allows builders to use CFLAGS_APPEND to specify additional CFLAGS. * ps/make-append-to-cflags: Makefile: add ability to append to CFLAGS and LDFLAGS
2 parents 8ba7dbd + 1d969af commit f4788a5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1449,8 +1449,8 @@ ALL_COMMANDS_TO_INSTALL += git-upload-archive$(X)
14491449
ALL_COMMANDS_TO_INSTALL += git-upload-pack$(X)
14501450
endif
14511451

1452-
ALL_CFLAGS = $(DEVELOPER_CFLAGS) $(CPPFLAGS) $(CFLAGS)
1453-
ALL_LDFLAGS = $(LDFLAGS)
1452+
ALL_CFLAGS = $(DEVELOPER_CFLAGS) $(CPPFLAGS) $(CFLAGS) $(CFLAGS_APPEND)
1453+
ALL_LDFLAGS = $(LDFLAGS) $(LDFLAGS_APPEND)
14541454

14551455
ifdef SANITIZE
14561456
SANITIZERS := $(foreach flag,$(subst $(comma),$(space),$(SANITIZE)),$(flag))

0 commit comments

Comments
 (0)