OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
00431bf
)
configure: Split adding of CFLAGS and CPPFLAGS for hardened toolchain
author
Diego Biurrun
<diego@biurrun.de>
Wed, 30 Jul 2014 12:09:47 +0000
(
05:09
-0700)
committer
Diego Biurrun
<diego@biurrun.de>
Tue, 16 Sep 2014 07:18:53 +0000
(
00:18
-0700)
configure
patch
|
blob
|
history
diff --git
a/configure
b/configure
index
81e1d3f
..
6e210bb
100755
(executable)
--- a/
configure
+++ b/
configure
@@
-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"