Skip to content

Commit

Permalink
www/trunk: Fix build on i386
Browse files Browse the repository at this point in the history
Reported by:	fallout
  • Loading branch information
yurivict committed May 1, 2024
1 parent 918ae98 commit c4e4f5c
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions www/trunk/Makefile
Expand Up @@ -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 \
Expand Down Expand Up @@ -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}

Expand Down

0 comments on commit c4e4f5c

Please sign in to comment.