summarylogtreecommitdiffstats
path: root/mingw-cmake.sh
diff options
context:
space:
mode:
authorMichel Zou2019-02-04 20:44:27 +0100
committerMichel Zou2019-02-04 20:44:27 +0100
commit2949fd7dabf9ed67d1dffca7371e2f19e0047b55 (patch)
treea4cd2c03e982e554d0b222f63bbbdd07f336d9cf /mingw-cmake.sh
parentfe8d4e5fa3958d2fe3055c62fc2ab5288a80ab1e (diff)
downloadaur-2949fd7dabf9ed67d1dffca7371e2f19e0047b55.tar.gz
fstack-protector-strong
Diffstat (limited to 'mingw-cmake.sh')
-rw-r--r--mingw-cmake.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/mingw-cmake.sh b/mingw-cmake.sh
index 54ad8b6274c1..86730b51d868 100644
--- a/mingw-cmake.sh
+++ b/mingw-cmake.sh
@@ -4,7 +4,7 @@ mingw_prefix=/usr/@TRIPLE@
export PKG_CONFIG_LIBDIR="${mingw_prefix}/lib/pkgconfig"
default_mingw_pp_flags="-D_FORTIFY_SOURCE=2"
-default_mingw_compiler_flags="$default_mingw_pp_flags -O2 -pipe -fno-plt -fexceptions --param=ssp-buffer-size=4"
+default_mingw_compiler_flags="$default_mingw_pp_flags -O2 -pipe -fstack-protector-strong -fno-plt -fexceptions --param=ssp-buffer-size=4"
default_mingw_linker_flags="-Wl,-O1,--sort-common,--as-needed"
export CPPFLAGS="${MINGW_CPPFLAGS:-$default_mingw_pp_flags $CPPFLAGS}"