Fix the cross-compile case where we build for armv6/mips on a system
that is actually amd64. Phabric: D1155 Reviewed by: bapt
This commit is contained in:
parent
300ba834d6
commit
a1e8df060f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=372571
1 changed files with 2 additions and 0 deletions
|
@ -23,9 +23,11 @@ INSTALL_TARGET= install-strip
|
|||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${ARCH} == "i386" || ${ARCH} == "amd64"
|
||||
.if defined(MACHINE_CPU) && ${MACHINE_CPU:Msse}!=""
|
||||
CONFIGURE_ARGS+= --enable-sse
|
||||
.endif
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
|
||||
|
|
Loading…
Reference in a new issue