aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/dash/dash.mk2
-rw-r--r--package/libevent/libevent.mk2
-rw-r--r--package/nfs-utils/nfs-utils.mk2
-rw-r--r--package/samba/samba.mk2
4 files changed, 4 insertions, 4 deletions
diff --git a/package/dash/dash.mk b/package/dash/dash.mk
index 229887974..51bd1648f 100644
--- a/package/dash/dash.mk
+++ b/package/dash/dash.mk
@@ -27,7 +27,7 @@ $(DASH_DIR)/.unpacked: $(DL_DIR)/$(DASH_SOURCE) $(DL_DIR)/$(DASH_PATCH1)
$(DASH_DIR)/.configured: $(DASH_DIR)/.unpacked
(cd $(DASH_DIR); rm -rf config.cache; \
- $(TARGET_CONFIGURE_OPTS) CC_FOR_BUILD="$(HOSTCC)" \
+ $(TARGET_CONFIGURE_OPTS) \
CFLAGS="$(TARGET_CFLAGS)" \
./configure \
--target=$(GNU_TARGET_NAME) \
diff --git a/package/libevent/libevent.mk b/package/libevent/libevent.mk
index 779034fda..c0d506aa2 100644
--- a/package/libevent/libevent.mk
+++ b/package/libevent/libevent.mk
@@ -24,7 +24,7 @@ $(LIBEVENT_DIR)/.unpacked: $(DL_DIR)/$(LIBEVENT_SOURCE)
$(LIBEVENT_DIR)/.configured: $(LIBEVENT_DIR)/.unpacked
(cd $(LIBEVENT_DIR); rm -rf config.cache; \
- $(TARGET_CONFIGURE_OPTS) CC_FOR_BUILD=$(HOSTCC) \
+ $(TARGET_CONFIGURE_OPTS) \
CFLAGS="$(TARGET_CFLAGS)" \
./configure \
--target=$(GNU_TARGET_NAME) \
diff --git a/package/nfs-utils/nfs-utils.mk b/package/nfs-utils/nfs-utils.mk
index f39a85c8f..a7e327e6a 100644
--- a/package/nfs-utils/nfs-utils.mk
+++ b/package/nfs-utils/nfs-utils.mk
@@ -24,7 +24,7 @@ $(NFS_UTILS_DIR)/.unpacked: $(DL_DIR)/$(NFS_UTILS_SOURCE)
$(NFS_UTILS_DIR)/.configured: $(NFS_UTILS_DIR)/.unpacked
(cd $(NFS_UTILS_DIR); rm -rf config.cache; \
- $(TARGET_CONFIGURE_OPTS) CC_FOR_BUILD="$(HOSTCC)" \
+ $(TARGET_CONFIGURE_OPTS) \
CFLAGS="$(TARGET_CFLAGS)" \
LDFLAGS="$(TARGET_LDFLAGS)" \
knfsd_cv_bsd_signals=no \
diff --git a/package/samba/samba.mk b/package/samba/samba.mk
index 3c9587483..86681fa5c 100644
--- a/package/samba/samba.mk
+++ b/package/samba/samba.mk
@@ -24,7 +24,7 @@ $(SAMBA_DIR)/.unpacked: $(DL_DIR)/$(SAMBA_SOURCE)
$(SAMBA_DIR)/.configured: $(SAMBA_DIR)/.unpacked
(cd $(SAMBA_DIR); rm -rf config.cache; \
./autogen.sh; \
- $(TARGET_CONFIGURE_OPTS) CC_FOR_BUILD="$(HOSTCC)" \
+ $(TARGET_CONFIGURE_OPTS) \
CFLAGS="$(TARGET_CFLAGS)" \
samba_cv_HAVE_GETTIMEOFDAY_TZ=yes \
samba_cv_USE_SETREUID=yes \