summaryrefslogtreecommitdiff
path: root/toolchain/binutils/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2019-10-15 23:07:51 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2019-10-15 23:08:36 +0200
commitfb1227583603bc6fefbdac5c1b1bf81cdf737d65 (patch)
treea5bc6785527cf8bdc19e7ea5b27ceadae366edf5 /toolchain/binutils/Makefile
parentfc597779adafc38a94c55798e42c11df610b7d4d (diff)
allow to build nds32 toolchain with old kernel
Diffstat (limited to 'toolchain/binutils/Makefile')
-rw-r--r--toolchain/binutils/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/toolchain/binutils/Makefile b/toolchain/binutils/Makefile
index 67707c881..64c75e4b5 100644
--- a/toolchain/binutils/Makefile
+++ b/toolchain/binutils/Makefile
@@ -44,6 +44,7 @@ ifeq ($(ADK_TARGET_ARCH_XTENSA),y)
--strip-components=1 -C $(WRKSRC) binutils
endif
(cd $(WRKBUILD); PATH='$(HOST_PATH)' \
+ LDFLAGS=-ldl \
MAKEINFO=true \
M4='${STAGING_HOST_DIR}/usr/bin/m4' \
$(WRKBUILD)/configure \