Skip to content

Commit 34c18e7

Browse files
committed
git: skip Rust bits in i686 builds
There is no i686 Rust we could use, therefore we have to exclude the Rust bits from the build. One of the next Git versions will make the Rust bits mandatory, at which point we will have to stop building mingw-w64-i686-git. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
1 parent fdb46d8 commit 34c18e7

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

mingw-w64-git/PKGBUILD

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,12 @@ STRIP=
8383
STRIP_OPTS=
8484
LDFLAGS=
8585

86+
if test i686 = "$CARCH"
87+
then
88+
# There is no i686 Rust we can use
89+
export NO_RUST=ThatsRight
90+
fi
91+
8692
if test -z "$NO_RUST"
8793
then
8894
makedepends+=("${MINGW_PACKAGE_PREFIX}-rust")

0 commit comments

Comments
 (0)