diff options
author | Abdoulaye Walsimou Gaye <awg@embtoolkit.org> | 2011-06-05 22:20:16 +0200 |
---|---|---|
committer | Abdoulaye Walsimou Gaye <awg@embtoolkit.org> | 2011-06-05 22:20:16 +0200 |
commit | 610baa60688f5d15a3e1b1632e4b41770f3a669b (patch) | |
tree | 8f6d13b7f92bd06b8e63b0a5f5d6ac9fdb295300 /packages/compression | |
parent | e9d21178925488ce0e3c84391b3321daae180841 (diff) | |
download | embtoolkit-610baa60688f5d15a3e1b1632e4b41770f3a669b.tar.gz embtoolkit-610baa60688f5d15a3e1b1632e4b41770f3a669b.tar.bz2 embtoolkit-610baa60688f5d15a3e1b1632e4b41770f3a669b.tar.xz |
Packages: zlib: fix build error after recent changes
Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
Diffstat (limited to 'packages/compression')
-rw-r--r-- | packages/compression/zlib/zlib.mk | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/packages/compression/zlib/zlib.mk b/packages/compression/zlib/zlib.mk index d1448bc..65f59ea 100644 --- a/packages/compression/zlib/zlib.mk +++ b/packages/compression/zlib/zlib.mk @@ -104,6 +104,8 @@ ZLIB_HOST_PACKAGE := $(ZLIB_PACKAGE) ZLIB_HOST_SRC_DIR := $(TOOLS_BUILD)/zlib-$(ZLIB_VERSION) ZLIB_HOST_BUILD_DIR := $(TOOLS_BUILD)/zlib-$(ZLIB_VERSION) +ZLIB_HOST_CONFIGURE_ENV := CC=$(HOSTCC_CACHED) + zlib_host_install: @test -e $(ZLIB_HOST_BUILD_DIR)/.installed || \ $(MAKE) $(ZLIB_HOST_BUILD_DIR)/.installed @@ -116,7 +118,7 @@ $(ZLIB_HOST_BUILD_DIR)/.installed: download_zlib \ @touch $@ $(ZLIB_HOST_SRC_DIR)/.decompressed: - $(call EMBTK_DECOMPRESS_PKG,ZLIB) + $(call EMBTK_DECOMPRESS_HOSTPKG,ZLIB_HOST) $(ZLIB_HOST_BUILD_DIR)/.configured: $(call EMBTK_GENERIC_MSG,"Configure $(ZLIB_HOST_PACKAGE) for host...") @@ -125,7 +127,7 @@ $(ZLIB_HOST_BUILD_DIR)/.configured: CPPFLAGS="-I$(HOSTTOOLS)/usr/include" \ LDFLAGS="-L$(HOSTTOOLS)/$(LIBDIR) -L$(HOSTTOOLS)/usr/$(LIBDIR)" \ $(ZLIB_HOST_CONFIGURE_ENV) \ - $(CONFIG_SHELL) $(ZLIB_SRC_DIR)/configure \ + $(CONFIG_SHELL) $(ZLIB_HOST_SRC_DIR)/configure \ --prefix=$(HOSTTOOLS)/usr $(ZLIB_HOST_CONFIGURE_OPTS) @touch $@ |