diff options
Diffstat (limited to 'toolchain')
-rw-r--r-- | toolchain/gcc/Makefile | 1 | ||||
-rw-r--r-- | toolchain/uclibc-ng/Makefile | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/toolchain/gcc/Makefile b/toolchain/gcc/Makefile index d766c2c32..49e035800 100644 --- a/toolchain/gcc/Makefile +++ b/toolchain/gcc/Makefile @@ -4,7 +4,6 @@ include $(ADK_TOPDIR)/rules.mk include ../rules.mk include Makefile.inc -include $(ADK_TOPDIR)/mk/os.mk # disable SSP for libstdc++ ifeq ($(ADK_TARGET_LIB_MUSL),y) diff --git a/toolchain/uclibc-ng/Makefile b/toolchain/uclibc-ng/Makefile index 71edbf1b4..526009a24 100644 --- a/toolchain/uclibc-ng/Makefile +++ b/toolchain/uclibc-ng/Makefile @@ -290,6 +290,7 @@ endif $(WRKBUILD)/.compiled: $(WRKBUILD)/.configured PATH='$(HOST_PATH)' $(MAKE) $(UCLIBC_MAKEOPTS) -C $(WRKBUILD) \ + HOSTCC="$(HOST_CC)" \ CC='$(TARGET_CC)' \ PREFIX= \ DEVEL_PREFIX=/usr/ \ @@ -303,6 +304,7 @@ $(WRKBUILD)/.compiled: $(WRKBUILD)/.configured $(WRKBUILD)/.installed: $(WRKBUILD)/.compiled PATH='$(HOST_PATH)' $(MAKE) -C $(WRKBUILD) \ + HOSTCC="$(HOST_CC)" \ CC='$(TARGET_CC)' \ PREFIX=$(STAGING_TARGET_DIR) \ DEVEL_PREFIX=/usr/ \ @@ -313,6 +315,7 @@ $(WRKBUILD)/.installed: $(WRKBUILD)/.compiled VERBOSE=1 \ install_runtime install_dev PATH='$(HOST_PATH)' $(MAKE) -C $(WRKBUILD) \ + HOSTCC="$(HOST_CC)" \ CC='$(TARGET_CC)' \ PREFIX= \ DEVEL_PREFIX=/usr/ \ |