upx: disable -Werror on native builds

See: 3ab014bd56 (r75447401)

Tested on OSX clang-700.1.81, gcc6 6.1.0_0, and gcc5 5.4.0_0
This commit is contained in:
Tony Theodore 2016-08-20 16:13:43 +10:00
parent 445bdf6299
commit d21c1455d3
1 changed files with 1 additions and 3 deletions

View File

@ -47,9 +47,7 @@ define $(PKG)_BUILD_$(BUILD)
'CC=$(BUILD_CC)' \
'PKG_CONFIG=$(PREFIX)/$(BUILD)/bin/pkgconf' \
'LIBS=-L$(PREFIX)/$(BUILD)/lib -lucl -lz' \
$(shell [ `uname -s` == Darwin ] && \
echo "CXXFLAGS=-Wno-error=unused-local-typedefs -Wno-error=misleading-indentation" || \
echo "CXXFLAGS=-Wno-error=misleading-indentation") \
'CXXFLAGS_WERROR=' \
'exeext='
cp '$(1)/src/upx' '$(PREFIX)/$(BUILD)/bin/'
endef