diff options
Diffstat (limited to 'toolchain/eglibc/Makefile')
-rw-r--r-- | toolchain/eglibc/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/toolchain/eglibc/Makefile b/toolchain/eglibc/Makefile index 429ed3036b..774500a46d 100644 --- a/toolchain/eglibc/Makefile +++ b/toolchain/eglibc/Makefile @@ -5,12 +5,16 @@ HOST_BUILD_PARALLEL:=1 include ./common.mk define Host/Compile - $(MAKE) -C $(CUR_BUILD_DIR) all PARALLELMFLAGS="$(HOST_JOBS)" + $(MAKE) -C $(CUR_BUILD_DIR) \ + PARALLELMFLAGS="$(HOST_JOBS)" \ + BUILD_CFLAGS="$(HOST_CFLAGS)" \ + all endef define Host/Install $(call Host/SetToolchainInfo) $(MAKE) -C $(CUR_BUILD_DIR) \ + BUILD_CFLAGS="$(HOST_CFLAGS)" \ install_root="$(TOOLCHAIN_DIR)" \ install ( cd $(TOOLCHAIN_DIR) ; \ |