summaryrefslogtreecommitdiffstats
path: root/package/atftp/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/atftp/Makefile')
-rw-r--r--package/atftp/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/atftp/Makefile b/package/atftp/Makefile
index 3a692314c..a609c53d3 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 $@