aboutsummaryrefslogtreecommitdiff
path: root/resources/libreboot/patch/crossgcc
diff options
context:
space:
mode:
authorPaul Kocialkowski <contact@paulk.fr>2016-12-23 14:13:48 +0100
committerLeah Rowe <info@minifree.org>2017-01-15 14:24:40 +0000
commit3d08effb91acf985bae9c4eb4386937ce7ed92a9 (patch)
tree9d890b07e4abf2f885cf9c494a9103bf4b96d891 /resources/libreboot/patch/crossgcc
parent0698cb38d1e26495c953f01daf9604551b6ed7d5 (diff)
downloadlibrebootfr-3d08effb91acf985bae9c4eb4386937ce7ed92a9.tar.gz
librebootfr-3d08effb91acf985bae9c4eb4386937ce7ed92a9.zip
Current build system removal
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Diffstat (limited to 'resources/libreboot/patch/crossgcc')
-rw-r--r--resources/libreboot/patch/crossgcc/gccfix.diff27
1 files changed, 0 insertions, 27 deletions
diff --git a/resources/libreboot/patch/crossgcc/gccfix.diff b/resources/libreboot/patch/crossgcc/gccfix.diff
deleted file mode 100644
index 49e6227b..00000000
--- a/resources/libreboot/patch/crossgcc/gccfix.diff
+++ /dev/null
@@ -1,27 +0,0 @@
-From ea0c2d76c4f16eccaafcb2c0741f76825505bafc Mon Sep 17 00:00:00 2001
-From: Nico Huber <nico.huber@secunet.com>
-Date: Thu, 22 Dec 2016 16:05:54 +0100
-Subject: [PATCH] DONOTMERGE buildgcc: Build GMP `--with-pic` if GCC defaults to `-pie`
-
-Change-Id: I5f3185af9c8d599379a628e18724b217b88be974
-Signed-off-by: Nico Huber <nico.huber@secunet.com>
----
-
-diff --git a/util/crossgcc/buildgcc b/util/crossgcc/buildgcc
-index 97c38b8..4eefd43 100755
---- a/util/crossgcc/buildgcc
-+++ b/util/crossgcc/buildgcc
-@@ -515,6 +515,13 @@
- }
-
- build_GMP() {
-+ # Check if GCC enables `-pie` by default (likely on Debian Stretch).
-+ # We have to use `--with-pic` then.
-+ if "${CC}" -dumpspecs 2>/dev/null | grep -q '[{;][[:space:]]*:-pie\>'
-+ then
-+ OPTIONS="$OPTIONS --with-pic"
-+ fi
-+
- CC="$CC" ../${GMP_DIR}/configure --disable-shared --enable-fat \
- --prefix=$TARGETDIR $OPTIONS \
- || touch .failed