From f907a06b85094f4a74a5085f2248a7f5f034892c Mon Sep 17 00:00:00 2001 From: rr- Date: Thu, 26 May 2016 19:52:34 +0200 Subject: upx: fix build with gcc6 --- src/upx.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- cgit v0.12