yet more cleanup (make sure to honor TARGET_CC and not just TARGET_CROSS)
[oweals/openwrt.git] / openwrt / include / package.mk
index c0953ae701af43b5c182dbe039b5f41b5b8ced8d..fee715043c893ee6035d179ab3b6ce8ea0a0612a 100644 (file)
@@ -285,7 +285,6 @@ endef
 define Build/Compile/Default
        $(MAKE) -C $(PKG_BUILD_DIR) \
                $(TARGET_CONFIGURE_OPTS) \
-               CC=$(TARGET_CC) \
                CROSS="$(TARGET_CROSS)" \
                EXTRA_CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/include -I$(STAGING_DIR)/usr/include" \
                ARCH="$(ARCH)" \