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:
parent
cd26f609a1
commit
5bc42dc785
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=307566
1 changed files with 0 additions and 9 deletions
|
@ -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 \
|
||||
|
|
Loading…
Reference in a new issue