fix target/utils compile on freebsd
authorFelix Fietkau <nbd@openwrt.org>
Tue, 10 Oct 2006 20:13:43 +0000 (20:13 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Tue, 10 Oct 2006 20:13:43 +0000 (20:13 +0000)
SVN-Revision: 5035

openwrt/target/utils/Makefile

index c7b9a04..f2a92fe 100644 (file)
@@ -27,6 +27,6 @@ $(UTILS_BUILD_DIR):
        mkdir -p $(UTILS_BUILD_DIR)
        
 $(UTILS_BUILD_DIR)/%: src/%.c
-       $(CC) -o $@ $(patsubst $(UTILS_BUILD_DIR)/%,src/%.c,$@)
+       $(CC) -O2 -I $(STAGING_DIR)/include-host -o $@ $(patsubst $(UTILS_BUILD_DIR)/%,src/%.c,$@)
        chmod 755 $@