diff options
-rwxr-xr-x | bootstrap-prepare.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/bootstrap-prepare.sh b/bootstrap-prepare.sh index 21ec70c..4d2063b 100755 --- a/bootstrap-prepare.sh +++ b/bootstrap-prepare.sh @@ -142,6 +142,15 @@ prepare_file_system() fi done printf '\n' + log 'Overriding elf_interp macro in gcc-4.7 source package...' + case "${ma}" in + 'x86_64-linux-gnu') + interp='ld-linux-x86-64.so.2' + ;; + esac + printf 'Using %s...\n\n' /lib/${ARCH}/${interp:-ld-*.so.*} + printf 'elf_interp = %s\n' /lib/${ARCH}/${interp:-ld-*.so.*} \ + >pkg/gcc-4.7/local.mk fi } |