cross-x86_64-w64-mingw32: unbreak
restrict to x86_64 enable parallel build
This commit is contained in:
parent
50f99ea095
commit
c67eb2602b
1 changed files with 7 additions and 9 deletions
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue