summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2018-08-13 13:57:11 (GMT)
committerTony Theodore <tonyt@logyst.com>2018-08-15 02:57:09 (GMT)
commit28424c6d153822f932d91532e08b879f57a95ccd (patch)
tree55b8a77dc9170eced4ca82987eb0106e3bfcf5c7
parent6473abe4e0cbf83bc875c2d288ceb1eeab9e0db7 (diff)
downloadmxe-28424c6d153822f932d91532e08b879f57a95ccd.zip
mxe-28424c6d153822f932d91532e08b879f57a95ccd.tar.gz
mxe-28424c6d153822f932d91532e08b879f57a95ccd.tar.bz2
pe-parse: fix gcc7 build
-rw-r--r--src/pe-parse.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pe-parse.mk b/src/pe-parse.mk
index 8c1faf2..8a3f924 100644
--- a/src/pe-parse.mk
+++ b/src/pe-parse.mk
@@ -17,7 +17,8 @@ $(PKG)_BUILD_$(BUILD) :=
define $(PKG)_BUILD
# build and install the cross-library
cd '$(BUILD_DIR)' && $(TARGET)-cmake '$(SOURCE_DIR)' \
- -DBUILD_COMMAND_LINE_TOOLS=OFF
+ -DBUILD_COMMAND_LINE_TOOLS=OFF \
+ -DCMAKE_CXX_FLAGS='-Wno-error=redundant-decls'
$(MAKE) -C '$(BUILD_DIR)' -j '$(JOBS)'
$(MAKE) -C '$(BUILD_DIR)' -j 1 install