diff options
author | Mark Brand <mabrand@mabrand.nl> | 2011-12-14 09:17:26 (GMT) |
---|---|---|
committer | Mark Brand <mabrand@mabrand.nl> | 2011-12-14 09:17:26 (GMT) |
commit | 736e5bc01bdeb38bb2b597228b95eeda1c29c43f (patch) | |
tree | 86a85f4c37382468b30b9d5a890bb428fedfbb2b /src/gsoap.mk | |
parent | 7773ff85365aea5fed6d4678e4911df07fbbe1f1 (diff) | |
download | mxe-736e5bc01bdeb38bb2b597228b95eeda1c29c43f.zip mxe-736e5bc01bdeb38bb2b597228b95eeda1c29c43f.tar.gz mxe-736e5bc01bdeb38bb2b597228b95eeda1c29c43f.tar.bz2 |
package gsoap: workaround for parallel building
Diffstat (limited to 'src/gsoap.mk')
-rw-r--r-- | src/gsoap.mk | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/gsoap.mk b/src/gsoap.mk index 61933cc..c8a89ef 100644 --- a/src/gsoap.mk +++ b/src/gsoap.mk @@ -22,8 +22,9 @@ define $(PKG)_BUILD # Native build to get tools wsdl2h and soapcpp2 cd '$(1)' && ./configure - # Parallel bulds can fail - $(MAKE) -C '$(1)'/gsoap -j 1 + # Work around parallel build problem + $(MAKE) -C '$(1)'/gsoap/src -j '$(JOBS)' soapcpp2_yacc.h + $(MAKE) -C '$(1)'/gsoap -j '$(JOBS)' # Install the native tools manually $(INSTALL) -m755 '$(1)'/gsoap/wsdl/wsdl2h '$(PREFIX)/bin/$(TARGET)-wsdl2h' @@ -47,10 +48,11 @@ define $(PKG)_BUILD # Building for mingw requires native soapcpp2 ln -sf '$(PREFIX)/bin/$(TARGET)-soapcpp2' '$(1)/gsoap/src/soapcpp2' - # Parallel bulds can fail - $(MAKE) -C '$(1)' -j 1 AR='$(TARGET)-ar' + # Work around parallel build problem + $(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. # 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. |