From cdefea7e38111bd61f5721eb3f5b6824f4be4f87 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sat, 27 Apr 2013 14:30:49 -0400 Subject: build: Also set INTERP with LDFLAGS at build time. This is necessary for cross compilers, at least. --- diff --git a/build b/build index 1d5efea..22e3b07 100755 --- a/build +++ b/build @@ -81,6 +81,7 @@ $(build_targets): configure $(buildnative_targets): libsubdir="/usr/lib/$(target)/gcc-$(base_version)" && \ oh-autobuild -B "$(builddir)" -T bootstrap-lean -- -j $${JOBS:-1} \ + LDFLAGS="-Wl,--dynamic-linker=$(elf_interp)" \ libsubdir="$${libsubdir}" \ libexecsubdir="$${libsubdir}" \ libsubincludedir="$${libsubdir}/include" \ @@ -91,6 +92,7 @@ $(buildnative_targets): $(buildcross_targets): libsubdir="/usr/lib/$(target)/gcc-$(base_version)" && \ oh-autobuild -B "$(builddir)" -T all-gcc -- -j $${JOBS:-1} \ + LDFLAGS="-Wl,--dynamic-linker=$(elf_interp)" \ libsubdir="$${libsubdir}" \ libexecsubdir="$${libsubdir}" \ libsubincludedir="$${libsubdir}/include" \ -- cgit v0.9.1