aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFélix Sipma <felix.sipma@no-log.org>2016-11-28 22:19:26 +0100
committerFélix Sipma <felix.sipma@no-log.org>2016-11-28 22:42:33 +0100
commitbc7654de33adc8f2d9d3b6b64851f9cfb2d1f927 (patch)
tree3fbe0eb337d7a83ff0c3754eb2abc331edadc5bf
parente828c10468884e140f65fc0324fdc7ad667e4a40 (diff)
add missing CPPFLAGS reported by blhc
-rwxr-xr-xdebian/rules3
1 files changed, 2 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules
index e63ff95..cf46f45 100755
--- a/debian/rules
+++ b/debian/rules
@@ -16,7 +16,8 @@ DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
-CFLAGS = -Wall -g -fstack-protector-strong -Wformat -Werror=format-security
+CFLAGS = `dpkg-buildflags --get CFLAGS`
+CFLAGS += `dpkg-buildflags --get CPPFLAGS`
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
CFLAGS += -O0