linaro_qemu: fix provide,requires,build_requires.

* disable stack protector.
This commit is contained in:
Jérôme Duval
2016-12-04 18:15:06 +01:00
parent 613a3e9c1d
commit 070512abcc
2 changed files with 40 additions and 9 deletions

View File

@@ -173,3 +173,34 @@ index 4febfe9..5579646 100644
--
1.8.3.4
From 1df13c3934df011fe829d2e9b9c39bc2a809cffa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Duval?= <jerome.duval@gmail.com>
Date: Sun, 4 Dec 2016 18:06:30 +0100
Subject: [PATCH] disable stack-protector.
---
configure | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/configure b/configure
index f997c1c..e01b3b7 100755
--- a/configure
+++ b/configure
@@ -1297,10 +1297,10 @@ for flag in $gcc_flags; do
fi
done
-if compile_prog "-Werror -fstack-protector-all" "" ; then
- QEMU_CFLAGS="$QEMU_CFLAGS -fstack-protector-all"
- LIBTOOLFLAGS="$LIBTOOLFLAGS -Wc,-fstack-protector-all"
-fi
+#if compile_prog "-Werror -fstack-protector-all" "" ; then
+# QEMU_CFLAGS="$QEMU_CFLAGS -fstack-protector-all"
+# LIBTOOLFLAGS="$LIBTOOLFLAGS -Wc,-fstack-protector-all"
+#fi
# Workaround for http://gcc.gnu.org/PR55489. Happens with -fPIE/-fPIC and
# large functions that use global variables. The bug is in all releases of
--
2.7.4