summaryrefslogtreecommitdiffstats
path: root/src/upx.mk
diff options
context:
space:
mode:
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