X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/56e496b25bbbf5f495243a2ed1fe648f806ca484..3ac7f795d54c66ce5ac346a6d3f79c0d40018361:/openwrt/package/atftp/Makefile diff --git a/openwrt/package/atftp/Makefile b/openwrt/package/atftp/Makefile index 3acd841d1..a609c53d3 100644 --- a/openwrt/package/atftp/Makefile +++ b/openwrt/package/atftp/Makefile @@ -19,7 +19,7 @@ include $(TOPDIR)/package/rules.mk $(eval $(call PKG_template,ATFTP,atftp,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) $(eval $(call PKG_template,ATFTPD,atftpd,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) -$(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared +$(PKG_BUILD_DIR)/.configured: (cd $(PKG_BUILD_DIR); rm -rf config.{cache,status} ; \ $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS)" \ @@ -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 $@