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 c7b9a049804d7817730e3d54f738362b93cde6a2..f2a92fec3d973aa38a066e9227b37f8cde8a859a 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 $@