From: Felix Fietkau Date: Tue, 10 Oct 2006 20:13:43 +0000 (+0000) Subject: fix target/utils compile on freebsd X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=2cad78eec3c6f506730379c72e688e240947ce2c;p=openwrt%2Fstaging%2Fansuel.git fix target/utils compile on freebsd SVN-Revision: 5035 --- diff --git a/openwrt/target/utils/Makefile b/openwrt/target/utils/Makefile index c7b9a04980..f2a92fec3d 100644 --- a/openwrt/target/utils/Makefile +++ b/openwrt/target/utils/Makefile @@ -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 $@