mirror of https://git.ffmpeg.org/ffmpeg.git
Merge commit '2d589273dd36c5eb271a035ea0e669b64dae257f'
* commit '2d589273dd36c5eb271a035ea0e669b64dae257f': configure: Split adding of CFLAGS and CPPFLAGS for hardened toolchain Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
5ddfac81c4
|
@ -3036,7 +3036,8 @@ case "$toolchain" in
|
||||||
add_ldflags -fprofile-arcs -ftest-coverage
|
add_ldflags -fprofile-arcs -ftest-coverage
|
||||||
;;
|
;;
|
||||||
hardened)
|
hardened)
|
||||||
add_cflags -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fstack-protector-all
|
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
|
add_ldflags -Wl,-z,relro -Wl,-z,now
|
||||||
;;
|
;;
|
||||||
?*)
|
?*)
|
||||||
|
|
Loading…
Reference in New Issue