add quotes to TARGET_CC and TARGET_CROSS to help with distcc and ccache
[packages.git] / net / dhcp6 / Makefile
index d6f0f99..a7f16bf 100755 (executable)
@@ -58,9 +58,9 @@ endef
 
 define Build/Compile
        $(MAKE) -C $(PKG_BUILD_DIR)/server \
-               CC=$(TARGET_CC) STAGING_DIR=$(STAGING_DIR)
+               CC="$(TARGET_CC)" STAGING_DIR=$(STAGING_DIR)
        $(MAKE) -C $(PKG_BUILD_DIR)/client \
-               CC=$(TARGET_CC) STAGING_DIR=$(STAGING_DIR)
+               CC="$(TARGET_CC)" STAGING_DIR=$(STAGING_DIR)
 endef
 
 define Package/dhcp6-server/install