mirror of
https://github.com/git/git
synced 2024-10-02 14:45:21 +00:00
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
This commit is contained in:
commit
f4788a577b
4
Makefile
4
Makefile
|
@ -1449,8 +1449,8 @@ ALL_COMMANDS_TO_INSTALL += git-upload-archive$(X)
|
||||||
ALL_COMMANDS_TO_INSTALL += git-upload-pack$(X)
|
ALL_COMMANDS_TO_INSTALL += git-upload-pack$(X)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ALL_CFLAGS = $(DEVELOPER_CFLAGS) $(CPPFLAGS) $(CFLAGS)
|
ALL_CFLAGS = $(DEVELOPER_CFLAGS) $(CPPFLAGS) $(CFLAGS) $(CFLAGS_APPEND)
|
||||||
ALL_LDFLAGS = $(LDFLAGS)
|
ALL_LDFLAGS = $(LDFLAGS) $(LDFLAGS_APPEND)
|
||||||
|
|
||||||
ifdef SANITIZE
|
ifdef SANITIZE
|
||||||
SANITIZERS := $(foreach flag,$(subst $(comma),$(space),$(SANITIZE)),$(flag))
|
SANITIZERS := $(foreach flag,$(subst $(comma),$(space),$(SANITIZE)),$(flag))
|
||||||
|
|
Loading…
Reference in a new issue