summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-11-05 02:32:54 +0000
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-11-05 02:32:54 +0000
commit586042df85d9eb774183e4fad67a11bf18ff303b (patch)
tree3fb6cfc29840b86587e61a6369e578a76f13c82b
parent445d5e12cf785fd0741298de731fe801d46a8417 (diff)
use target optimization cflags
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@2334 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--openwrt/package/atftp/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/openwrt/package/atftp/Makefile b/openwrt/package/atftp/Makefile
index 3a692314ce..a609c53d36 100644
--- a/openwrt/package/atftp/Makefile
+++ b/openwrt/package/atftp/Makefile
@@ -53,6 +53,7 @@ $(PKG_BUILD_DIR)/.built:
mkdir -p $(PKG_INSTALL_DIR)
$(MAKE) -C $(PKG_BUILD_DIR) \
$(TARGET_CONFIGURE_OPTS) \
+ CFLAGS="$(TARGET_CFLAGS) -Wall -D_REENTRANT" \
DESTDIR=$(PKG_INSTALL_DIR) \
all install
touch $@