aboutsummaryrefslogtreecommitdiffstats
path: root/tools/upx
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2011-10-21 11:31:25 +0000
committerNicolas Thill <nico@openwrt.org>2011-10-21 11:31:25 +0000
commita266c4f43b362b2778e006263f92c0dc7050ec8b (patch)
treecf687eb048e851d91ee16159811e5caa7db6c091 /tools/upx
parent9117bb10f7ef5536163dfa413a3aa799602907ae (diff)
downloadupstream-a266c4f43b362b2778e006263f92c0dc7050ec8b.tar.gz
upstream-a266c4f43b362b2778e006263f92c0dc7050ec8b.tar.bz2
upstream-a266c4f43b362b2778e006263f92c0dc7050ec8b.zip
[tools] 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' ... git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28500 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'tools/upx')
-rw-r--r--tools/upx/Makefile3
1 files changed, 2 insertions, 1 deletions
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