mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04: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
1 changed files with 7 additions and 0 deletions
|
@ -46,10 +46,17 @@ OPTIONS_DEFAULT_amd64= SSE
|
||||||
DEBUG_CONFIGURE_ENABLE= debug
|
DEBUG_CONFIGURE_ENABLE= debug
|
||||||
SSE_VARS= SSE_FLAGS="-mmmx -msse"
|
SSE_VARS= SSE_FLAGS="-mmmx -msse"
|
||||||
|
|
||||||
|
.include <bsd.port.pre.mk>
|
||||||
|
|
||||||
BROKEN_powerpc64= Does not build
|
BROKEN_powerpc64= Does not build
|
||||||
|
|
||||||
MAKE_JOBS_UNSAFE= yes
|
MAKE_JOBS_UNSAFE= yes
|
||||||
|
|
||||||
|
.if ${ARCH} != amd64 && ${ARCH} != i386
|
||||||
|
SSE_FLAGS=
|
||||||
|
SSE_VARS=
|
||||||
|
.endif
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
@${REINPLACE_CMD} -e \
|
@${REINPLACE_CMD} -e \
|
||||||
'/^[[:space:]].*FLAGS -[Ofgp].*"/s|^|#| ; \
|
'/^[[:space:]].*FLAGS -[Ofgp].*"/s|^|#| ; \
|
||||||
|
|
Loading…
Add table
Reference in a new issue