mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
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
|
d59726f34f7852a081fbd3defd1ab2136f174110fc2e0c8d10bb122173fa9ed8
|
||||||
5527e1f6496841e2bb72f97a184fc79affdcd37972eaa9ebf7a5fd05c31ff803"
|
5527e1f6496841e2bb72f97a184fc79affdcd37972eaa9ebf7a5fd05c31ff803"
|
||||||
|
|
||||||
archs="i686 x86_64"
|
archs="x86_64"
|
||||||
create_wrksrc=yes
|
create_wrksrc=yes
|
||||||
hostmakedepends="perl flex"
|
hostmakedepends="perl flex"
|
||||||
makedepends="zlib-devel"
|
makedepends="zlib-devel"
|
||||||
|
@ -42,8 +42,6 @@ nostrip=yes
|
||||||
nopie=yes
|
nopie=yes
|
||||||
nodebug=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://sourceforge.net/p/mingw-w64/wiki2/Cross%20Win32%20and%20Win64%20compiler/
|
||||||
# https://gcc.gnu.org/install/configure.html
|
# https://gcc.gnu.org/install/configure.html
|
||||||
# http://mingw-w64.org/doku.php/configure
|
# http://mingw-w64.org/doku.php/configure
|
||||||
|
@ -68,7 +66,7 @@ _binutils_build() {
|
||||||
--enable-lto \
|
--enable-lto \
|
||||||
--with-system-zlib
|
--with-system-zlib
|
||||||
|
|
||||||
make && make install
|
make ${makejobs} && make install
|
||||||
}
|
}
|
||||||
|
|
||||||
_mingw_headers() {
|
_mingw_headers() {
|
||||||
|
@ -87,7 +85,7 @@ _mingw_headers() {
|
||||||
--enable-secure-api \
|
--enable-secure-api \
|
||||||
--enable-sdk=all
|
--enable-sdk=all
|
||||||
|
|
||||||
make && make install
|
make ${makejobs} && make install
|
||||||
|
|
||||||
# manually create required symlinks
|
# manually create required symlinks
|
||||||
(cd ${_sysroot} && ln -sfT "." "mingw")
|
(cd ${_sysroot} && ln -sfT "." "mingw")
|
||||||
|
@ -125,7 +123,7 @@ _gcc_bootstrap() {
|
||||||
--with-system-zlib \
|
--with-system-zlib \
|
||||||
--enable-languages=c,c++,lto
|
--enable-languages=c,c++,lto
|
||||||
|
|
||||||
make all-gcc && make install-gcc
|
make ${makejobs} all-gcc && make install-gcc
|
||||||
}
|
}
|
||||||
|
|
||||||
_mingw_crt_build() {
|
_mingw_crt_build() {
|
||||||
|
@ -156,7 +154,7 @@ _mingw_crt_build() {
|
||||||
--host=${_target} \
|
--host=${_target} \
|
||||||
${_crt_configure_args}
|
${_crt_configure_args}
|
||||||
|
|
||||||
make && make install
|
make ${makejobs} && make install
|
||||||
}
|
}
|
||||||
|
|
||||||
_mingw_winpthreads_build() {
|
_mingw_winpthreads_build() {
|
||||||
|
@ -182,7 +180,7 @@ _mingw_winpthreads_build() {
|
||||||
--enable-static \
|
--enable-static \
|
||||||
--enable-shared
|
--enable-shared
|
||||||
|
|
||||||
make && make install
|
make ${makejobs} && make install
|
||||||
}
|
}
|
||||||
|
|
||||||
_gcc_build() {
|
_gcc_build() {
|
||||||
|
@ -196,7 +194,7 @@ _gcc_build() {
|
||||||
|
|
||||||
# should be already configured previously
|
# should be already configured previously
|
||||||
# no need for install since this is the last step
|
# no need for install since this is the last step
|
||||||
make
|
make ${makejobs}
|
||||||
}
|
}
|
||||||
|
|
||||||
_build_cross() {
|
_build_cross() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue