diff --git a/openwrt/package/atftp/Makefile b/openwrt/package/atftp/Makefile index 3a692314ceb..a609c53d36b 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 $@