projects
/
debian
/
cc1111
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
540a75f
)
update hardening build flags config
debian/2.9.0-4
author
Bdale Garbee
<bdale@gag.com>
Wed, 26 Mar 2014 01:41:17 +0000
(18:41 -0700)
committer
Bdale Garbee
<bdale@gag.com>
Wed, 26 Mar 2014 01:41:17 +0000
(18:41 -0700)
debian/rules
patch
|
blob
|
history
diff --git
a/debian/rules
b/debian/rules
index 171c82a56672df9e6e2f7811635800378dfdc144..51fd9ae51c122f9efc3444003973f8b8f7b35d75 100755
(executable)
--- a/
debian/rules
+++ b/
debian/rules
@@
-9,10
+9,12
@@
DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
export HOME=$(CURDIR)/build
export HOME=$(CURDIR)/build
+CPPFLAGS = $(shell dpkg-buildflags --get CPPFLAGS)
CFLAGS = $(shell dpkg-buildflags --get CFLAGS)
CFLAGS = $(shell dpkg-buildflags --get CFLAGS)
-C
FLAGS += -Wall -Wno-comment
+C
XXFLAGS:=$(shell dpkg-buildflags --get CXXFLAGS)
LDFLAGS = $(shell dpkg-buildflags --get LDFLAGS)
LDFLAGS = $(shell dpkg-buildflags --get LDFLAGS)
-CPPFLAGS = $(shell dpkg-buildflags --get CPPFLAGS)
+
+CFLAGS += -Wall -Wno-comment
ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
CFLAGS += -g -O0
ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
CFLAGS += -g -O0