aboutsummaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorPaul Fertser <fercerpav@gmail.com>2014-05-11 21:45:51 +0400
committerSteve Bennett <steveb@workware.net.au>2014-05-12 11:41:25 +1000
commit097786084353a5dcf9980e3cdec04acc10ffc45c (patch)
tree6ed8425c704f5f60cc351038dede0f72144c505d /Makefile.in
parent708ea1cb2a2a95d5559924b79adbb5f684352d27 (diff)
downloadjimtcl-097786084353a5dcf9980e3cdec04acc10ffc45c.zip
jimtcl-097786084353a5dcf9980e3cdec04acc10ffc45c.tar.gz
jimtcl-097786084353a5dcf9980e3cdec04acc10ffc45c.tar.bz2
Makefile.in: pass CPPFLAGS where appropriate
CPPFLAGS is a standard variable to pass additional preprocessor-related parameters. Debian build system uses that to add -D_FORTIFY_SOURCE=2 and then checks the buildlogs to ensure the command line contained all the fortification parameters (they use "-fstack-protector --param=ssp-buffer-size=4" for CFLAGS). Example blhc output before the fix: CPPFLAGS missing (-D_FORTIFY_SOURCE=2): cc -D_GNU_SOURCE -Wall -I. -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -c -o _load-static-exts.o _load-static-exts.c Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index 6d45b15..b27ecd1 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -18,7 +18,7 @@ SHOBJ_LDFLAGS ?= @SHOBJ_LDFLAGS@
@else
SHOBJ_LDFLAGS ?= @SHOBJ_LDFLAGS_R@
@endif
-CFLAGS = @CFLAGS@ @CCOPTS@
+CFLAGS = @CFLAGS@ @CCOPTS@ @CPPFLAGS@
CXXFLAGS = @CXXFLAGS@ @CXXOPTS@
LDFLAGS = @LDFLAGS@
LDLIBS += @LDLIBS@