mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 12:03:31 +01:00
defa.mk: Re-append environment flags to BUILD_XXX flags
Re-enable support for passing CFLAGS CPPFLAGS and LDFLAGS via environment.
This commit is contained in:
parent
7d6f17e9c8
commit
ee0ec97c01
1 changed files with 4 additions and 0 deletions
|
|
@ -116,6 +116,10 @@ else
|
|||
endif
|
||||
endif
|
||||
|
||||
BUILD_CFLAGS += $(CFLAGS)
|
||||
BUILD_CPPFLAGS += $(CPPFLAGS)
|
||||
BUILD_LDFLAGS += $(LDFLAGS)
|
||||
|
||||
BUILD_CFLAGS += -D_FILE_OFFSET_BITS=64 -Wall -Wno-unused-value -fexceptions -DPROJECT_STR=\"$(PROJECT)\"
|
||||
BUILD_CPPFLAGS += -D_FILE_OFFSET_BITS=64 -Wall -Wno-unused-value -Wno-deprecated -DPROJECT_STR=\"$(PROJECT)\"
|
||||
BUILD_LDFLAGS += -Wall
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue