diff --git a/devel/ruff/Makefile b/devel/ruff/Makefile index e89b70947b3d..eac680c359ed 100644 --- a/devel/ruff/Makefile +++ b/devel/ruff/Makefile @@ -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