use HOSTCC instead of CC
authorWaldemar Brodkorb <mail@waldemar-brodkorb.de>
Wed, 24 May 2006 06:39:06 +0000 (06:39 +0000)
committerWaldemar Brodkorb <mail@waldemar-brodkorb.de>
Wed, 24 May 2006 06:39:06 +0000 (06:39 +0000)
SVN-Revision: 3820

openwrt/target/utils/Makefile

index b4c1a21ee04bf3432d7786d9d2335e0111927819..22ed8bfebd04deb3039d5262b6d1344cb8d54b09 100644 (file)
@@ -17,6 +17,6 @@ $(UTILS_BUILD_DIR):
        mkdir -p $(UTILS_BUILD_DIR)
        
 $(UTILS_BUILD_DIR)/%: src/%.c
-       $(CC) -o $@ $(patsubst $(UTILS_BUILD_DIR)/%,src/%.c,$@)
+       $(HOSTCC) -o $@ $(patsubst $(UTILS_BUILD_DIR)/%,src/%.c,$@)
        chmod 755 $@