diff options
author | P. J. McDermott <pjm@nac.net> | 2013-04-27 14:30:49 (EDT) |
---|---|---|
committer | P. J. McDermott <pjm@nac.net> | 2013-04-27 14:30:49 (EDT) |
commit | cdefea7e38111bd61f5721eb3f5b6824f4be4f87 (patch) | |
tree | 1dbbe5243d54038c7d0fda11d2081dbb52e92eb1 | |
parent | d89c3cab7255da434ed582bce822e45ae8cea5df (diff) |
build: Also set INTERP with LDFLAGS at build time.
This is necessary for cross compilers, at least.
-rwxr-xr-x | build | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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" \ |