aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2005-11-05 02:32:54 +0000
committerNicolas Thill <nico@openwrt.org>2005-11-05 02:32:54 +0000
commit31d2e25faf23a153451a89c75795cf7b14b07c40 (patch)
tree73c49e3bec834252ec0fff10fe09053fd2c07089 /package
parentfdffe64b4645d2f44cf8876681d41ac4d2ef1561 (diff)
downloadupstream-31d2e25faf23a153451a89c75795cf7b14b07c40.tar.gz
upstream-31d2e25faf23a153451a89c75795cf7b14b07c40.tar.bz2
upstream-31d2e25faf23a153451a89c75795cf7b14b07c40.zip
use target optimization cflags
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2334 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r--package/atftp/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/atftp/Makefile b/package/atftp/Makefile
index 3a692314ce..a609c53d36 100644
--- a/package/atftp/Makefile
+++ b/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 $@