If building on i386 always use optimized ASM, otherwise always disable it. No

need to expose this as a knob anymore.

Feature safe:	yes
This commit is contained in:
Wesley Shields 2012-11-19 16:24:44 +00:00
parent cd26f609a1
commit 5bc42dc785
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=307566

View file

@ -45,18 +45,9 @@ MAN8= silcd.8
.include <bsd.port.pre.mk>
.if ${ARCH} != "i386"
WITHOUT_OPTIMIZED_ASM= yes
.endif
.ifdef(WITHOUT_OPTIMIZED_ASM)
CONFIGURE_ARGS+= --disable-asm
.endif
pre-everything::
.ifndef(WITHOUT_OPTIMIZED_ASM)
@${ECHO_MSG} '===> Define WITHOUT_OPTIMIZED_ASM to disable assembler optimizations'
.endif
post-patch:
.ifdef(NOPORTEXAMPLES)
@${REINPLACE_CMD} -E -e \