[wine-mono/f22] Disable stack-protector for now
mooninite
mooninite at fedoraproject.org
Sun Mar 8 08:17:25 UTC 2015
commit a413670546bb2fcc27ef4a3a48bfcb7a7309e053
Author: Michael Cronenworth <mike at cchtml.com>
Date: Sun Mar 8 03:17:04 2015 -0500
Disable stack-protector for now
GCC 4.9 doesn't pull in libssp by default
wine-mono-build-cflags.patch | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/wine-mono-build-cflags.patch b/wine-mono-build-cflags.patch
index 70f4a60..b07940c 100644
--- a/wine-mono-build-cflags.patch
+++ b/wine-mono-build-cflags.patch
@@ -5,7 +5,7 @@
cd "$CURDIR/build-cross-$ARCH"
if test 1 != $REBUILD || test ! -e Makefile; then
- CPPFLAGS="-gdwarf-2 -gstrict-dwarf" ../mono/configure --prefix="$CURDIR/build-cross-$ARCH-install" --build=$BUILD --target=$MINGW --host=$MINGW --with-tls=none --disable-mcs-build --enable-win32-dllmain=yes --with-libgc-threads=win32 PKG_CONFIG=false mono_cv_clang=no || exit 1
-+ CFLAGS="-O0 -g -pipe -Wall -Werror=format-security -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -mtune=generic" \
++ CFLAGS="-O0 -g -pipe -Wall -Werror=format-security -fexceptions --param=ssp-buffer-size=4 -grecord-gcc-switches -mtune=generic" \
+ CPPFLAGS="-O0 -gdwarf-2 -gstrict-dwarf" ../mono/configure --prefix="$CURDIR/build-cross-$ARCH-install" --build=$BUILD --target=$MINGW --host=$MINGW --with-tls=none --disable-mcs-build --enable-win32-dllmain=yes --with-libgc-threads=win32 PKG_CONFIG=false mono_cv_clang=no || exit 1
sed -e 's/-lgcc_s//' -i libtool
fi
@@ -14,7 +14,7 @@
cd "$CURDIR/build-cross-cli"
if test 1 != $REBUILD || test ! -e Makefile; then
-+ CFLAGS="-O0 -g -pipe -Wall -Werror=format-security -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -mtune=generic" \
++ CFLAGS="-O0 -g -pipe -Wall -Werror=format-security -fexceptions --param=ssp-buffer-size=4 -grecord-gcc-switches -mtune=generic" \
../mono/configure --prefix="$CURDIR/build-cross-cli-install" --with-mcs-docs=no --disable-system-aot || exit 1
fi
if test 1 = $USE_MONOLITE; then
More information about the scm-commits
mailing list