mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-20 20:09:11 +00:00
Attempt to fix build on non-x86 archs.
I admit to not understanding the A= B= construct. This hack was the only way I could figure out to make the flags properly conditionalize.
This commit is contained in:
parent
4de067a3d3
commit
e16f648d4d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=427471
@ -46,10 +46,17 @@ OPTIONS_DEFAULT_amd64= SSE
|
||||
DEBUG_CONFIGURE_ENABLE= debug
|
||||
SSE_VARS= SSE_FLAGS="-mmmx -msse"
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
BROKEN_powerpc64= Does not build
|
||||
|
||||
MAKE_JOBS_UNSAFE= yes
|
||||
|
||||
.if ${ARCH} != amd64 && ${ARCH} != i386
|
||||
SSE_FLAGS=
|
||||
SSE_VARS=
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e \
|
||||
'/^[[:space:]].*FLAGS -[Ofgp].*"/s|^|#| ; \
|
||||
|
Loading…
Reference in New Issue
Block a user