summaryrefslogtreecommitdiffstats
path: root/src/upx.mk
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2016-08-20 06:13:43 (GMT)
committerTony Theodore <tonyt@logyst.com>2016-08-20 06:13:43 (GMT)
commitd21c1455d3b6788f2b3340a49b29d12832e50688 (patch)
tree6c50a04dd68231a09f80ee090644f26a605d12fd /src/upx.mk
parent445bdf62997e5cc2a8314316c68a84ca13828b79 (diff)
downloadmxe-d21c1455d3b6788f2b3340a49b29d12832e50688.zip
mxe-d21c1455d3b6788f2b3340a49b29d12832e50688.tar.gz
mxe-d21c1455d3b6788f2b3340a49b29d12832e50688.tar.bz2
upx: disable -Werror on native builds
See: https://github.com/mxe/mxe/pull/1360/files/3ab014bd5672a1c84c6d93630634a2b79cdb9b8c#r75447401 Tested on OSX clang-700.1.81, gcc6 6.1.0_0, and gcc5 5.4.0_0
Diffstat (limited to 'src/upx.mk')
-rw-r--r--src/upx.mk4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/upx.mk b/src/upx.mk
index de53681..dba07d2 100644
--- a/src/upx.mk
+++ b/src/upx.mk
@@ -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