mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-26 00:55:14 +00:00
Correct the logic of the SIMD option so that packages are not built with
unwanted optimizations. PR: 137114 Submitted by: Anonymous <swell.k@gmail.com>
This commit is contained in:
parent
903cef665e
commit
0f017c5d71
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=239181
@ -31,10 +31,10 @@ OPTIONS= SIMD "Use cpu-specific optimizations if available" off
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if !defined(WITHOUT_SIMD)
|
||||
CONFIGURE_ARGS+=--enable-mmx \
|
||||
--enable-sse \
|
||||
--enable-altivec
|
||||
.if defined(WITHOUT_SIMD)
|
||||
CONFIGURE_ARGS+=--disable-mmx \
|
||||
--disable-sse \
|
||||
--disable-altivec
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user