[tools] upx: fix build error
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 21 Oct 2011 11:31:25 +0000 (11:31 +0000)
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 21 Oct 2011 11:31:25 +0000 (11:31 +0000)
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

tools/upx/Makefile

index 0a805f0..2f3313c 100644 (file)
@@ -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
This page took 0.021443 seconds and 4 git commands to generate.