mirror of https://git.wownero.com/dsc/mxe.git
upx: disable -Werror on native builds
See: 3ab014bd56 (r75447401)
Tested on OSX clang-700.1.81, gcc6 6.1.0_0, and gcc5 5.4.0_0
This commit is contained in:
parent
445bdf6299
commit
d21c1455d3
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue