diff options
-rw-r--r-- | mk/vars.mk | 2 | ||||
-rw-r--r-- | toolchain/binutils/Makefile | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/mk/vars.mk b/mk/vars.mk index 672f03d9f..b99230c84 100644 --- a/mk/vars.mk +++ b/mk/vars.mk @@ -335,7 +335,7 @@ PATCHP0= PATH='${HOST_PATH}' patch -p0 ifeq ($(ADK_STATIC_TOOLCHAIN),y) HOST_STATIC_CFLAGS:= -static -Wl,-static HOST_STATIC_CXXFLAGS:= -static -Wl,-static -HOST_STATIC_LDFLAGS:= -Wl,-static +HOST_STATIC_LDFLAGS:= -Wl,-static -all-static endif SED:= PATH='${HOST_PATH}' sed -i -e diff --git a/toolchain/binutils/Makefile b/toolchain/binutils/Makefile index 490a6f079..87e94303c 100644 --- a/toolchain/binutils/Makefile +++ b/toolchain/binutils/Makefile @@ -75,7 +75,7 @@ endif touch $@ $(WRKBUILD)/.compiled: $(WRKBUILD)/.configured - PATH='$(HOST_PATH)' $(MAKE) ${BINUTILS_MAKEOPTS} MAKEINFO=true -C $(WRKBUILD) all + PATH='$(HOST_PATH)' V=1 $(MAKE) ${BINUTILS_MAKEOPTS} LDFLAGS='$(HOST_STATIC_LDFLAGS)' MAKEINFO=true -C $(WRKBUILD) all touch $@ $(WRKBUILD)/.installed: $(WRKBUILD)/.compiled |