pe-parse: fix gcc7 build

This commit is contained in:
Tony Theodore 2018-08-13 23:57:11 +10:00
parent 6473abe4e0
commit 28424c6d15
1 changed files with 2 additions and 1 deletions

View File

@ -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