From d21c1455d3b6788f2b3340a49b29d12832e50688 Mon Sep 17 00:00:00 2001 From: Tony Theodore Date: Sat, 20 Aug 2016 16:13:43 +1000 Subject: 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 --- src/upx.mk | 4 +--- 1 file changed, 1 insertion(+), 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 -- cgit v0.12