diff options
author | Diego Biurrun <diego@biurrun.de> | 2014-07-30 05:09:47 -0700 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2014-09-16 00:18:53 -0700 |
commit | 2d589273dd36c5eb271a035ea0e669b64dae257f (patch) | |
tree | 911c355a0a5a2557bcb415759e20cba45c3b0456 /configure | |
parent | 00431bf874e1044b01e09a2266ef85d4ff8d44cc (diff) | |
download | ffmpeg-2d589273dd36c5eb271a035ea0e669b64dae257f.tar.gz |
configure: Split adding of CFLAGS and CPPFLAGS for hardened toolchain
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -2553,8 +2553,9 @@ case "$toolchain" in add_ldflags -fprofile-arcs -ftest-coverage ;; hardened) - add_cflags -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fstack-protector-all - add_ldflags -Wl,-z,relro -Wl,-z,now + add_cppflags -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 + add_cflags -fno-strict-overflow -fstack-protector-all + add_ldflags -Wl,-z,relro -Wl,-z,now ;; ?*) die "Unknown toolchain $toolchain" |