summaryrefslogtreecommitdiffstats
path: root/gnu
diff options
context:
space:
mode:
authorFlorian Franzmann2020-01-12 23:08:56 +0100
committerFlorian Franzmann2020-01-12 23:08:56 +0100
commit44dfa8959f19459041ab182df8d232cc0b25c2fa (patch)
tree357d6df31582f3f3159731308dd2489f31fc3220 /gnu
parent2839e4b633ec2be71afdca17d3588c06dbfeaa3a (diff)
gnu/gcc: disable control-flow protection
Diffstat (limited to 'gnu')
-rwxr-xr-xgnu/gcc/BUILD3
-rw-r--r--gnu/gcc/HISTORY4
-rwxr-xr-xgnu/gcc/INSTALL2
3 files changed, 6 insertions, 3 deletions
diff --git a/gnu/gcc/BUILD b/gnu/gcc/BUILD
index 8e012191cb..ca08f35287 100755
--- a/gnu/gcc/BUILD
+++ b/gnu/gcc/BUILD
@@ -36,7 +36,8 @@ if [[ "$ARCHITECTURE" == "pentium4" ||
CXXFLAGS=${CXXFLAGS//-ffast-math/}
fi &&
-disable_fortify_source &&
+disable_fortify_source &&
+disable_cf_protection &&
# fixes seg-fault on libiberty/splay.c in v 4.3.2
if is_version_less $(installed_version $SPELL) 5.0.0; then
diff --git a/gnu/gcc/HISTORY b/gnu/gcc/HISTORY
index 4da558cf78..f4793589e8 100644
--- a/gnu/gcc/HISTORY
+++ b/gnu/gcc/HISTORY
@@ -1,3 +1,7 @@
+2020-01-12 Florian Franzmann <siflfran@hawo.stw.uni-erlangen.de>
+ * INSTALL: remove unnecessary disable fortify source
+ * BUILD: disable control-flow protection
+
2020-01-11 Florian Franzmann <siflfran@hawo.stw.uni-erlangen.de>
* BUILD, INSTALL: disable fortify source
diff --git a/gnu/gcc/INSTALL b/gnu/gcc/INSTALL
index e02cb1459c..136c1204e9 100755
--- a/gnu/gcc/INSTALL
+++ b/gnu/gcc/INSTALL
@@ -3,8 +3,6 @@
#
cd $SOURCE_DIRECTORY.bld &&
-disable_fortify_source &&
-
# in some weird cases, this actually fails with multiple jobs
make_single &&
make CFLAGS="$CFLAGS" BOOT_CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" \