json_spirit: fix gcc7 build

pull/2181/head
Tony Theodore 6 years ago
parent 69427ce20c
commit 6a90401ea1

@ -27,15 +27,14 @@ define $(PKG)_UPDATE
endef endef
define $(PKG)_BUILD define $(PKG)_BUILD
mkdir '$(1).build' cd '$(BUILD_DIR)' && $(TARGET)-cmake '$(SOURCE_DIR)' \
cd '$(1).build' && \
'$(TARGET)-cmake' '$(1)' \
-DCMAKE_RELEASE_POSTFIX='' \ -DCMAKE_RELEASE_POSTFIX='' \
-DBoost_THREADAPI=win32 -DBoost_THREADAPI=win32 \
$(MAKE) -C '$(1).build' -j '$(JOBS)' VERBOSE=1 || $(MAKE) -C '$(1)' -j 1 VERBOSE=1 -DCMAKE_CXX_STANDARD=98
$(MAKE) -C '$(1).build' -j 1 install VERBOSE=1 $(MAKE) -C '$(BUILD_DIR)' -j '$(JOBS)' VERBOSE=1 || $(MAKE) -C '$(BUILD_DIR)' -j 1 VERBOSE=1
$(MAKE) -C '$(BUILD_DIR)' -j 1 install VERBOSE=1
$(TARGET)-g++ \ $(TARGET)-g++ \
'$(1)/json_demo/json_demo.cpp' \ '$(SOURCE_DIR)/json_demo/json_demo.cpp' \
-o '$(PREFIX)/$(TARGET)/bin/test-json_spirit.exe' -ljson_spirit -o '$(PREFIX)/$(TARGET)/bin/test-json_spirit.exe' -ljson_spirit
endef endef

Loading…
Cancel
Save