Skip to content

Commit

Permalink
Rust now default to single stage for builds
Browse files Browse the repository at this point in the history
  • Loading branch information
mati865 committed Nov 21, 2020
1 parent dcc1acc commit 24c23cd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions mingw-w64-rust/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ build() {
DEP_NGHTTP_ROOT=${MINGW_PREFIX} \
DEP_OPENSSL_ROOT=${MINGW_PREFIX} \
DEP_Z_ROOT=${MINGW_PREFIX} \
${MINGW_PREFIX}/bin/python ../${_realname}c-${pkgver}-src/x.py build --verbose
${MINGW_PREFIX}/bin/python ../${_realname}c-${pkgver}-src/x.py build --verbose --stage 2
}

check() {
Expand All @@ -100,7 +100,7 @@ check() {
DEP_NGHTTP_ROOT=${MINGW_PREFIX} \
DEP_OPENSSL_ROOT=${MINGW_PREFIX} \
DEP_Z_ROOT=${MINGW_PREFIX} \
${MINGW_PREFIX}/bin/python ../${_realname}c-${pkgver}-src/x.py test || true
${MINGW_PREFIX}/bin/python ../${_realname}c-${pkgver}-src/x.py test --stage 2 || true
}

package() {
Expand All @@ -109,7 +109,7 @@ package() {
DEP_NGHTTP_ROOT=${MINGW_PREFIX} \
DEP_OPENSSL_ROOT=${MINGW_PREFIX} \
DEP_Z_ROOT=${MINGW_PREFIX} \
DESTDIR=${pkgdir} ${MINGW_PREFIX}/bin/python ../${_realname}c-${pkgver}-src/x.py install --verbose
DESTDIR=${pkgdir} ${MINGW_PREFIX}/bin/python ../${_realname}c-${pkgver}-src/x.py install --stage 2 --verbose

rm -f ${pkgdir}${MINGW_PREFIX}/bin/libgcc*.dll
rm -f ${pkgdir}${MINGW_PREFIX}/bin/libstd*.dll
Expand Down

0 comments on commit 24c23cd

Please sign in to comment.