diff options
author | 4 of 7 (Leah Rowe) <info@minifree.org> | 2016-12-23 11:24:48 +0000 |
---|---|---|
committer | 4 of 7 (Leah Rowe) info@minifree.org <info@minifree.org> | 2017-01-22 02:12:26 +0000 |
commit | 5079de279988b12b5653d6ed229367ef1c08b8c8 (patch) | |
tree | 23bc340da616393b96383debadbc819f934178d2 /resources/scripts/helpers/download/crossgcc | |
parent | 70fa7f5750134b080814a9f44d1a78028aa4e4e0 (diff) | |
download | librebootfr-5079de279988b12b5653d6ed229367ef1c08b8c8.tar.gz librebootfr-5079de279988b12b5653d6ed229367ef1c08b8c8.zip |
Fix build error on latest GCC in Debian Stretch, when building GCC
Diffstat (limited to 'resources/scripts/helpers/download/crossgcc')
-rwxr-xr-x | resources/scripts/helpers/download/crossgcc | 5 |
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* ) |