diff options
author | Andrew Robbins <contact@andrewrobbins.info> | 2019-09-27 09:40:12 -0500 |
---|---|---|
committer | Andrew Robbins <contact@andrewrobbins.info> | 2019-09-27 09:40:12 -0500 |
commit | f2c648593a094b8f28af633fd2bc145d5c97d039 (patch) | |
tree | f03a2c2863e19120b21b81f644319fa6919ccf34 /resources/scripts/helpers | |
parent | 9797d4119d5de6cb4db1aec928a79038dc3f066b (diff) | |
download | librebootfr-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-x | resources/scripts/helpers/download/crossgcc | 5 |
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 |