aboutsummaryrefslogtreecommitdiff
path: root/resources/scripts/helpers
diff options
context:
space:
mode:
authorLeah Rowe <info@minifree.org>2016-12-23 11:24:48 +0000
committerLeah Rowe <info@minifree.org>2016-12-23 11:24:48 +0000
commit8cd2d5f92e592d49b4f7b82e4c101cad2c7470da (patch)
tree612592c71e0265ec405a03e0400e9f50c9f4b97d /resources/scripts/helpers
parentdda255e4a53d77552480cf338cb82a9c7a01c9d5 (diff)
downloadlibrebootfr-8cd2d5f92e592d49b4f7b82e4c101cad2c7470da.tar.gz
librebootfr-8cd2d5f92e592d49b4f7b82e4c101cad2c7470da.zip
Fix build error on latest GCC in Debian Stretch, when building GCC
Diffstat (limited to 'resources/scripts/helpers')
-rwxr-xr-xresources/scripts/helpers/download/crossgcc5
1 files changed, 4 insertions, 1 deletions
diff --git a/resources/scripts/helpers/download/crossgcc b/resources/scripts/helpers/download/crossgcc
index 6b77917c..68cd6414 100755
--- a/resources/scripts/helpers/download/crossgcc
+++ b/resources/scripts/helpers/download/crossgcc
@@ -33,7 +33,7 @@ else
fi
# coreboot revisios used for crossgcc
-crossgccrevision="00aa45391ddb22b5ac24151d54615ca1d89eb745"
+crossgccrevision="35562d8b6477058e6bca31b5cedd9d4897124fc7"
vbootrevision="d187cd3fc792f8bcefbee4587c83eafbd08441fc"
rm -Rf "crossgcc/"
@@ -46,6 +46,9 @@ 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
rm -Rf .git* */*/.git*
)