use target optimization cflags
authorNicolas Thill <nico@openwrt.org>
Sat, 5 Nov 2005 02:32:54 +0000 (02:32 +0000)
committerNicolas Thill <nico@openwrt.org>
Sat, 5 Nov 2005 02:32:54 +0000 (02:32 +0000)
SVN-Revision: 2334

openwrt/package/atftp/Makefile

index 3a692314cebe37e2652bfc297e3119c82d6f6aa1..a609c53d36b2be45e8352795417c4c68d0acc485 100644 (file)
@@ -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 $@