From 3770fdf4de3aeb8d63026c7782dfe018e3bacf27 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Fri, 14 Jun 2013 21:13:03 -0400 Subject: bootstrap-prepare.sh: Override gcc-4.7 elf_interp. --- 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 } -- cgit v0.9.1