diff options
author | P. J. McDermott <pjm@nac.net> | 2013-06-14 21:13:03 (EDT) |
---|---|---|
committer | P. J. McDermott <pjm@nac.net> | 2013-06-14 21:13:03 (EDT) |
commit | 3770fdf4de3aeb8d63026c7782dfe018e3bacf27 (patch) | |
tree | 9d07d2fd510ca1358e12fdbb52e7dfb9daf476eb | |
parent | 0f05a8b7989ee2ed0a697e469f9b27e7b9350061 (diff) |
bootstrap-prepare.sh: Override gcc-4.7 elf_interp.
-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 } |