From c67eb2602b9ba6d2b5919a5408df17ef20dea59d Mon Sep 17 00:00:00 2001 From: Johannes Date: Sat, 2 Mar 2019 08:35:49 +0100 Subject: [PATCH] cross-x86_64-w64-mingw32: unbreak restrict to x86_64 enable parallel build --- srcpkgs/cross-x86_64-w64-mingw32/template | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/srcpkgs/cross-x86_64-w64-mingw32/template b/srcpkgs/cross-x86_64-w64-mingw32/template index 9ab1b5b2b1c..43980421db9 100644 --- a/srcpkgs/cross-x86_64-w64-mingw32/template +++ b/srcpkgs/cross-x86_64-w64-mingw32/template @@ -31,7 +31,7 @@ checksum=" d59726f34f7852a081fbd3defd1ab2136f174110fc2e0c8d10bb122173fa9ed8 5527e1f6496841e2bb72f97a184fc79affdcd37972eaa9ebf7a5fd05c31ff803" -archs="i686 x86_64" +archs="x86_64" create_wrksrc=yes hostmakedepends="perl flex" makedepends="zlib-devel" @@ -42,8 +42,6 @@ nostrip=yes nopie=yes nodebug=yes -broken="configure: error: cannot compute suffix of object files: cannot compile" - # https://sourceforge.net/p/mingw-w64/wiki2/Cross%20Win32%20and%20Win64%20compiler/ # https://gcc.gnu.org/install/configure.html # http://mingw-w64.org/doku.php/configure @@ -68,7 +66,7 @@ _binutils_build() { --enable-lto \ --with-system-zlib - make && make install + make ${makejobs} && make install } _mingw_headers() { @@ -87,7 +85,7 @@ _mingw_headers() { --enable-secure-api \ --enable-sdk=all - make && make install + make ${makejobs} && make install # manually create required symlinks (cd ${_sysroot} && ln -sfT "." "mingw") @@ -125,7 +123,7 @@ _gcc_bootstrap() { --with-system-zlib \ --enable-languages=c,c++,lto - make all-gcc && make install-gcc + make ${makejobs} all-gcc && make install-gcc } _mingw_crt_build() { @@ -156,7 +154,7 @@ _mingw_crt_build() { --host=${_target} \ ${_crt_configure_args} - make && make install + make ${makejobs} && make install } _mingw_winpthreads_build() { @@ -182,7 +180,7 @@ _mingw_winpthreads_build() { --enable-static \ --enable-shared - make && make install + make ${makejobs} && make install } _gcc_build() { @@ -196,7 +194,7 @@ _gcc_build() { # should be already configured previously # no need for install since this is the last step - make + make ${makejobs} } _build_cross() {