summarylogtreecommitdiffstats
path: root/mingw-cmake.sh
diff options
context:
space:
mode:
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 dcccb2251e1..46d3fe234ef 100644
--- a/mingw-cmake.sh
+++ b/mingw-cmake.sh
@@ -5,7 +5,7 @@ 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_linker_flags="-Wl,-O1,--sort-common,--as-needed -fstack-protector -lssp"
+default_mingw_linker_flags="-Wl,-O1,--sort-common,--as-needed -fstack-protector"
export CPPFLAGS="${MINGW_CPPFLAGS:-$default_mingw_pp_flags $CPPFLAGS}"
export CFLAGS="${MINGW_CFLAGS:-$default_mingw_compiler_flags $CFLAGS}"