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:
Joe Marcus Clarke 2009-08-08 21:13:31 +00:00
parent 903cef665e
commit 0f017c5d71
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=239181

View File

@ -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>