diff options
author | Paul Fertser <fercerpav@gmail.com> | 2014-05-11 21:45:51 +0400 |
---|---|---|
committer | Steve Bennett <steveb@workware.net.au> | 2014-05-12 11:41:25 +1000 |
commit | 097786084353a5dcf9980e3cdec04acc10ffc45c (patch) | |
tree | 6ed8425c704f5f60cc351038dede0f72144c505d /jim-regexp.c | |
parent | 708ea1cb2a2a95d5559924b79adbb5f684352d27 (diff) | |
download | jimtcl-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 'jim-regexp.c')
0 files changed, 0 insertions, 0 deletions