From: Nicolas Thill Date: Fri, 21 Oct 2011 11:31:25 +0000 (+0000) Subject: upx: fix build error X-Git-Tag: reboot~15822 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=0eab6e2a7d89fab112142027f207bcc5546fece4;p=openwrt%2Fstaging%2Fpepe2k.git upx: fix build error g++ -O2 -Wall -W -Wcast-align -Wcast-qual -Wpointer-arith -Wshadow -Wwrite-strings -Werror -o compress.o -c compress.cpp cc1plus: warnings being treated as errors compress.cpp:75: error: unused parameter 'src' ... SVN-Revision: 28500 --- diff --git a/tools/upx/Makefile b/tools/upx/Makefile index 0a805f0a4a..2f3313ca38 100644 --- a/tools/upx/Makefile +++ b/tools/upx/Makefile @@ -20,7 +20,8 @@ include $(INCLUDE_DIR)/host-build.mk define Host/Compile rm -f $(HOST_BUILD_DIR)/src/.depend - $(MAKE) UPX_LZMADIR="$(BUILD_DIR_HOST)/lzma-4.65" -C $(HOST_BUILD_DIR)/src + $(MAKE) UPX_LZMADIR="$(BUILD_DIR_HOST)/lzma-4.65" -C $(HOST_BUILD_DIR)/src \ + CXXFLAGS_WERROR= endef define Host/Install