summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rwxr-xr-xbuild2
1 files changed, 2 insertions, 0 deletions
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" \