aboutsummaryrefslogtreecommitdiffstats
path: root/target/utils/Makefile
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-10-10 20:13:43 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-10-10 20:13:43 +0000
commit64154ccf71a3f77a88ac76e24c6a75610d59f2dd (patch)
treec2c54ecdd8f37d23b248e44c9db963c373b6685a /target/utils/Makefile
parent8ca56cf97dd78e07421474bf29c72cfcc16ce131 (diff)
downloadupstream-64154ccf71a3f77a88ac76e24c6a75610d59f2dd.tar.gz
upstream-64154ccf71a3f77a88ac76e24c6a75610d59f2dd.tar.bz2
upstream-64154ccf71a3f77a88ac76e24c6a75610d59f2dd.zip
fix target/utils compile on freebsd
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@5035 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/utils/Makefile')
-rw-r--r--target/utils/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/utils/Makefile b/target/utils/Makefile
index c7b9a04980..f2a92fec3d 100644
--- a/target/utils/Makefile
+++ b/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 $@