mirror of
https://github.com/mpv-player/mpv.git
synced 2025-12-24 20:00:20 +00:00
ci/build-common: add -D_FORTIFY_SOURCE=3
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user