summaryrefslogtreecommitdiffstats
path: root/openwrt/package/atftp/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'openwrt/package/atftp/Makefile')
-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 3a692314c..a609c53d3 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 $@