summaryrefslogtreecommitdiffstats
path: root/package/Makefile.autotools.in
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2010-07-08 10:21:16 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2010-07-08 10:21:16 +0200
commit74708bad1512a917a28c59646d1f9491f6fe9ea6 (patch)
tree7f3bf126d8251e99dda6da042be1fe016d59e3c3 /package/Makefile.autotools.in
parent049cf426e32d6f789439d0d06905c977bfd25c02 (diff)
parentd0169fda2144ef5dfe25e801d58a227ed119a38c (diff)
downloadbuildroot-novena-74708bad1512a917a28c59646d1f9491f6fe9ea6.tar.gz
buildroot-novena-74708bad1512a917a28c59646d1f9491f6fe9ea6.zip
Merge branch 'misc-fixes' of git://git.busybox.net/~tpetazzoni/git/buildroot
Diffstat (limited to 'package/Makefile.autotools.in')
-rw-r--r--package/Makefile.autotools.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/Makefile.autotools.in b/package/Makefile.autotools.in
index 318bd714a..1ccf44cd5 100644
--- a/package/Makefile.autotools.in
+++ b/package/Makefile.autotools.in
@@ -90,7 +90,6 @@ define $(2)_CONFIGURE_CMDS
(cd $$($$(PKG)_SRCDIR) && rm -rf config.cache && \
$$(TARGET_CONFIGURE_OPTS) \
$$(TARGET_CONFIGURE_ARGS) \
- $$(TARGET_CONFIGURE_ENV) \
$$($$(PKG)_CONF_ENV) \
./configure \
$$(if $$(filter YES,$$($$(PKG)_USE_CONFIG_CACHE)),--cache-file="$(BUILD_DIR)/tgt-config.cache",) \
@@ -117,6 +116,7 @@ define $(2)_CONFIGURE_CMDS
LDFLAGS="$$(HOST_LDFLAGS)" \
$$($$(PKG)_CONF_ENV) \
./configure \
+ $$(if $$(filter YES,$$($$(PKG)_USE_CONFIG_CACHE)),--cache-file="$(BUILD_DIR)/host-config.cache",) \
--prefix="$$(HOST_DIR)/usr" \
--sysconfdir="$$(HOST_DIR)/etc" \
$$($$(PKG)_CONF_OPT) \