summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mk/vars.mk1
-rw-r--r--toolchain/binutils/Makefile6
2 files changed, 1 insertions, 6 deletions
diff --git a/mk/vars.mk b/mk/vars.mk
index 3054d48b8..905252362 100644
--- a/mk/vars.mk
+++ b/mk/vars.mk
@@ -301,7 +301,6 @@ ifeq ($(ADK_STATIC_TOOLCHAIN),y)
HOST_STATIC_CFLAGS:= -static -Wl,-static
HOST_STATIC_CXXFLAGS:= -static -Wl,-static
HOST_STATIC_LDFLAGS:= -Wl,-static
-HOST_STATIC_LLDFLAGS:= -all-static
endif
SED:= PATH='${HOST_PATH}' sed -i -e
diff --git a/toolchain/binutils/Makefile b/toolchain/binutils/Makefile
index 083d11287..8f5adc393 100644
--- a/toolchain/binutils/Makefile
+++ b/toolchain/binutils/Makefile
@@ -38,10 +38,6 @@ ifeq (${ADK_MAKE_PARALLEL},y)
BINUTILS_MAKEOPTS+= -j${ADK_MAKE_JOBS}
endif
-ifeq (${ADK_STATIC_TOOLCHAIN},y)
-BINUTILS_STATIC_MAKEOPTS+=LDFLAGS='$(HOST_STATIC_LLDFLAGS)'
-endif
-
$(WRKBUILD)/.configured:
ifeq ($(ADK_TARGET_ARCH_XTENSA),y)
tar xf $(ADK_TOPDIR)/target/xtensa/overlay/xtensa_$(ADK_TARGET_CPU_TYPE).tar \
@@ -65,7 +61,7 @@ endif
touch $@
$(WRKBUILD)/.compiled: $(WRKBUILD)/.configured
- PATH='$(HOST_PATH)' $(MAKE) ${BINUTILS_MAKEOPTS} MAKEINFO=true ${BINUTILS_STATIC_MAKEOPTS} -C $(WRKBUILD) all
+ PATH='$(HOST_PATH)' $(MAKE) ${BINUTILS_MAKEOPTS} MAKEINFO=true -C $(WRKBUILD) all
touch $@
$(WRKBUILD)/.installed: $(WRKBUILD)/.compiled