mirror of
https://github.com/mpv-player/mpv
synced 2024-12-25 00:02:13 +00:00
ci/build-common: add -D_FORTIFY_SOURCE=3
This commit is contained in:
parent
04a2450aab
commit
3d3d06f981
@ -3,4 +3,4 @@ common_args="--werror \
|
||||
-Dtests=true \
|
||||
"
|
||||
|
||||
export CFLAGS="$CFLAGS -Wno-error=deprecated -Wno-error=deprecated-declarations"
|
||||
export CFLAGS="$CFLAGS -Wno-error=deprecated -Wno-error=deprecated-declarations -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3"
|
||||
|
@ -16,7 +16,7 @@ export AR=$TARGET-ar
|
||||
export NM=$TARGET-nm
|
||||
export RANLIB=$TARGET-ranlib
|
||||
|
||||
export CFLAGS="-O2 -pipe -Wall -D_FORTIFY_SOURCE=2"
|
||||
export CFLAGS="-O2 -pipe -Wall"
|
||||
export LDFLAGS="-fstack-protector-strong"
|
||||
|
||||
# anything that uses pkg-config
|
||||
|
Loading…
Reference in New Issue
Block a user