Skip to content

Commit 4ba9c84

Browse files
authored
git: skip Rust bits in i686 builds (#207)
Git for Windows builds the mingw-w64-git package with NO_RUST by default. But MSYS2 doesn't, hence the need for this change. With this PR, the `mingw-w64-git/` directory is treesame between msys2 and git-for-windows once again.
2 parents 114fb32 + 7ba2e56 commit 4ba9c84

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)