devel/ruff: Fix build on i386

Reported by:	fallout
This commit is contained in:
Yuri Victorovich 2024-10-27 15:03:09 -07:00
parent 8df62e768b
commit d27fdfcb7d

View file

@ -19,6 +19,8 @@ USES= cargo
USE_GITHUB= yes
GH_ACCOUNT= astral-sh
RUSTFLAGS= ${ARCH:S/i386/YES/:C/^[a-z].*//:S/YES/-C target-feature=+sse,+sse2/} # add sse sse2 target-features only on i386
#CARGO_BUILD_ARGS= --package=file://${WRKSRC}/crates/ruff_cli
CARGO_INSTALL_PATH= crates/ruff_cli