summaryrefslogtreecommitdiffstats
path: root/src/upx.mk
diff options
context:
space:
mode:
authorrr- <rr-@sakuya.pl>2016-05-26 17:52:34 (GMT)
committerTony Theodore <tonyt@logyst.com>2016-08-16 23:30:41 (GMT)
commitf907a06b85094f4a74a5085f2248a7f5f034892c (patch)
tree4d78902902a6516a6c9b3cf83cd6c7251117d517 /src/upx.mk
parent212203d3c83215d60fb3d2d5f174782d2cfd0e0b (diff)
downloadmxe-f907a06b85094f4a74a5085f2248a7f5f034892c.zip
mxe-f907a06b85094f4a74a5085f2248a7f5f034892c.tar.gz
mxe-f907a06b85094f4a74a5085f2248a7f5f034892c.tar.bz2
upx: fix build with gcc6
Diffstat (limited to 'src/upx.mk')
-rw-r--r--src/upx.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/upx.mk b/src/upx.mk
index 205ae8f..de53681 100644
--- a/src/upx.mk
+++ b/src/upx.mk
@@ -47,7 +47,9 @@ 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-typedef'") \
+ $(shell [ `uname -s` == Darwin ] && \
+ echo "CXXFLAGS=-Wno-error=unused-local-typedefs -Wno-error=misleading-indentation" || \
+ echo "CXXFLAGS=-Wno-error=misleading-indentation") \
'exeext='
cp '$(1)/src/upx' '$(PREFIX)/$(BUILD)/bin/'
endef