mirror of https://git.wownero.com/dsc/mxe.git
package gsoap: workaround for parallel building
This commit is contained in:
parent
7773ff8536
commit
736e5bc01b
12
src/gsoap.mk
12
src/gsoap.mk
|
@ -22,8 +22,9 @@ define $(PKG)_BUILD
|
||||||
# Native build to get tools wsdl2h and soapcpp2
|
# Native build to get tools wsdl2h and soapcpp2
|
||||||
cd '$(1)' && ./configure
|
cd '$(1)' && ./configure
|
||||||
|
|
||||||
# Parallel bulds can fail
|
# Work around parallel build problem
|
||||||
$(MAKE) -C '$(1)'/gsoap -j 1
|
$(MAKE) -C '$(1)'/gsoap/src -j '$(JOBS)' soapcpp2_yacc.h
|
||||||
|
$(MAKE) -C '$(1)'/gsoap -j '$(JOBS)'
|
||||||
|
|
||||||
# Install the native tools manually
|
# Install the native tools manually
|
||||||
$(INSTALL) -m755 '$(1)'/gsoap/wsdl/wsdl2h '$(PREFIX)/bin/$(TARGET)-wsdl2h'
|
$(INSTALL) -m755 '$(1)'/gsoap/wsdl/wsdl2h '$(PREFIX)/bin/$(TARGET)-wsdl2h'
|
||||||
|
@ -47,10 +48,11 @@ define $(PKG)_BUILD
|
||||||
# Building for mingw requires native soapcpp2
|
# Building for mingw requires native soapcpp2
|
||||||
ln -sf '$(PREFIX)/bin/$(TARGET)-soapcpp2' '$(1)/gsoap/src/soapcpp2'
|
ln -sf '$(PREFIX)/bin/$(TARGET)-soapcpp2' '$(1)/gsoap/src/soapcpp2'
|
||||||
|
|
||||||
# Parallel bulds can fail
|
# Work around parallel build problem
|
||||||
$(MAKE) -C '$(1)' -j 1 AR='$(TARGET)-ar'
|
$(MAKE) -C '$(1)'/gsoap/src -j '$(JOBS)' soapcpp2_yacc.h AR='$(TARGET)-ar'
|
||||||
|
$(MAKE) -C '$(1)' -j '$(JOBS)' AR='$(TARGET)-ar'
|
||||||
|
|
||||||
$(MAKE) -C '$(1)' -j 1 install
|
$(MAKE) -C '$(1)' -j '$(JOBS)' install
|
||||||
# Apparently there is a tradition of compiling gsoap source files into applications.
|
# Apparently there is a tradition of compiling gsoap source files into applications.
|
||||||
# Since we linked dom.cpp and dom.c into the libraries, this should not be necessary.
|
# Since we linked dom.cpp and dom.c into the libraries, this should not be necessary.
|
||||||
# But we bend to tradition and install these sources into mingw-cross-env.
|
# But we bend to tradition and install these sources into mingw-cross-env.
|
||||||
|
|
Loading…
Reference in New Issue