mirror of
https://github.com/Fishwaldo/open-zwave.git
synced 2025-07-07 05:28:54 +00:00
Add support for passing CPPFLAGS to Makefiles
This is required in order to add Hardening support. See https://wiki.debian.org/Hardening Earlier version of the patch by Thorsten Alteholz <debian@alteholz.de>
This commit is contained in:
parent
695402d288
commit
47ab75eb66
4 changed files with 9 additions and 8 deletions
|
@ -25,8 +25,8 @@ LD := g++
|
|||
AR := ar rc
|
||||
RANLIB := ranlib
|
||||
|
||||
DEBUG_CFLAGS := -Wall -Wno-format -g -DDEBUG
|
||||
RELEASE_CFLAGS := -Wall -Wno-unknown-pragmas -Wno-format -O3
|
||||
DEBUG_CFLAGS := -Wall -Wno-format -g -DDEBUG $(CPPFLAGS)
|
||||
RELEASE_CFLAGS := -Wall -Wno-unknown-pragmas -Wno-format -O3 $(CPPFLAGS)
|
||||
|
||||
LIBS :=
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue