diff options
author | rr- <rr-@sakuya.pl> | 2016-05-26 17:52:34 (GMT) |
---|---|---|
committer | Tony Theodore <tonyt@logyst.com> | 2016-08-16 23:30:41 (GMT) |
commit | f907a06b85094f4a74a5085f2248a7f5f034892c (patch) | |
tree | 4d78902902a6516a6c9b3cf83cd6c7251117d517 /src | |
parent | 212203d3c83215d60fb3d2d5f174782d2cfd0e0b (diff) | |
download | mxe-f907a06b85094f4a74a5085f2248a7f5f034892c.zip mxe-f907a06b85094f4a74a5085f2248a7f5f034892c.tar.gz mxe-f907a06b85094f4a74a5085f2248a7f5f034892c.tar.bz2 |
upx: fix build with gcc6
Diffstat (limited to 'src')
-rw-r--r-- | src/upx.mk | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 |