1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
Author: Thomas Koch <thomas@koch.ro>
Forwarded: no
Description: Forward CPPFLAGS from the environment
Thus the hardening flags are set when compiling.
However lintian still complains and I don't know yet
whether it's false positive or not.
.
I should probably learn about a proper build system
and suggest to upstream to use it. Therefor not
forwarded yet.
diff --git a/Makefile b/Makefile
index 6d759f6..302852a 100644
--- a/Makefile
+++ b/Makefile
@@ -113,7 +113,8 @@ CPPFLAGS := $(CPPFLAGS_EXTRA) \
-DAPP_NAME=\"$(APP_NAME)\" \
-DVERSION=\"$(VERSION)\" \
-DLOCALEDIR="\"$(localedir)\"" \
- -DG_LOG_DOMAIN=\"$(PACKAGE)\"
+ -DG_LOG_DOMAIN=\"$(PACKAGE)\" \
+ $(CPPFLAGS)
LDLIBS := $(EXTRA_LIBS) \
$(shell pkg-config --libs $(PKGCONFIG_LIBS))
DOCBOOK5_MANPAGES_FLAGS = --stringparam man.authors.section.enabled 0 \
|