aboutsummaryrefslogtreecommitdiff
path: root/resources/scripts/helpers
diff options
context:
space:
mode:
authorAndrew Robbins <contact@andrewrobbins.info>2019-09-27 09:40:12 -0500
committerAndrew Robbins <contact@andrewrobbins.info>2019-09-27 09:40:12 -0500
commitf2c648593a094b8f28af633fd2bc145d5c97d039 (patch)
treef03a2c2863e19120b21b81f644319fa6919ccf34 /resources/scripts/helpers
parent9797d4119d5de6cb4db1aec928a79038dc3f066b (diff)
downloadlibrebootfr-f2c648593a094b8f28af633fd2bc145d5c97d039.tar.gz
librebootfr-f2c648593a094b8f28af633fd2bc145d5c97d039.zip
Use '--with-pic' if building gmp with '-pie'
The updated regex catches more instances where '-pie' would be enabled. Parabola's gcc is built with a spec string which causes issues when building gmp (as part of the crossgcc build process) using the old build system.
Diffstat (limited to 'resources/scripts/helpers')
-rwxr-xr-xresources/scripts/helpers/download/crossgcc5
1 files changed, 2 insertions, 3 deletions
diff --git a/resources/scripts/helpers/download/crossgcc b/resources/scripts/helpers/download/crossgcc
index 5469c866..8522458a 100755
--- a/resources/scripts/helpers/download/crossgcc
+++ b/resources/scripts/helpers/download/crossgcc
@@ -46,9 +46,8 @@ rm -Rf "crossgcc/"
cd 3rdparty/vboot/
git reset --hard ${vbootrevision}
)
- # workaround to fix the error on debian stretch and later, when building
- # GMP. If -pie is enabled in GCC, then --with-pic must be used when compiling
- git am ../resources/libreboot/patch/crossgcc/gccfix.diff
+ # If -pie is enabled in GCC, then --with-pic must be used when compiling
+ git am ../resources/libreboot/patch/crossgcc/looking_for_pie.patch
# Update URI pointing to the version of libelf we need
git am ../resources/libreboot/patch/crossgcc/libelf.patch
#Patch to add hash checking to buildgcc