diff options
author | Yuri Victorovich <yuri@FreeBSD.org> | 2024-04-30 21:30:07 -0700 |
---|---|---|
committer | Yuri Victorovich <yuri@FreeBSD.org> | 2024-04-30 21:30:07 -0700 |
commit | c4e4f5c14bb2d796c953c37bcb8aff8360037705 (patch) | |
tree | 7211100dddf9635dec89d346f686596a2272c6ab | |
parent | devel/py-scikit-build-core: update 0.9.2 → 0.9.3 (diff) |
www/trunk: Fix build on i386
Reported by: fallout
-rw-r--r-- | www/trunk/Makefile | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/www/trunk/Makefile b/www/trunk/Makefile index f262231b3e7e..833fdc8a2124 100644 --- a/www/trunk/Makefile +++ b/www/trunk/Makefile @@ -19,7 +19,7 @@ USES= cargo USE_GITHUB= yes GH_ACCOUNT= thedodd -CARGO_FEATURES= ${ARCH:S/i386/YES/:C/^[a-z].*//:S/YES/sse sse2/} # add sse sse2 features only on i386 +RUSTFLAGS= ${ARCH:S/i386/YES/:C/^[a-z].*//:S/YES/-C target-feature=+sse,+sse2/} # add sse sse2 target-features only on i386 CARGO_CRATES= addr2line-0.21.0 \ adler-1.0.2 \ @@ -464,12 +464,6 @@ OPENSSLLIB= /usr/lib PLIST_FILES= bin/${PORTNAME} -#.include <bsd.port.pre.mk> - -#.if ${ARCH} == amd64 -#CARGO_FEATURES= ${ARCH:S/i386/sse sse2/} -#.endif - post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} |