diff options
author | ijliao <ijliao@FreeBSD.org> | 2004-07-24 09:53:06 +0800 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2004-07-24 09:53:06 +0800 |
commit | f44acc6739261a32fb4446f00f434a46ddbeaba1 (patch) | |
tree | 77116aff01391ba10235f12ec2a84414d708d412 /math/fftw3 | |
parent | 6574189106112c50c0d3fcea2b939c64d39e61b0 (diff) | |
download | freebsd-ports-gnome-f44acc6739261a32fb4446f00f434a46ddbeaba1.tar.gz freebsd-ports-gnome-f44acc6739261a32fb4446f00f434a46ddbeaba1.tar.zst freebsd-ports-gnome-f44acc6739261a32fb4446f00f434a46ddbeaba1.zip |
only show i386 options to i386
PR: 69488
Submitted by: maintainer
Diffstat (limited to 'math/fftw3')
-rw-r--r-- | math/fftw3/Makefile | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/math/fftw3/Makefile b/math/fftw3/Makefile index 2740d725dc01..2db49e43d7e1 100644 --- a/math/fftw3/Makefile +++ b/math/fftw3/Makefile @@ -19,7 +19,7 @@ MAINTAINER= ahze@ahze.net COMMENT= Fast C routines to compute the Discrete Fourier Transform USE_GMAKE= yes -USE_INC_LIBTOOL_VER=13 +USE_INC_LIBTOOL_VER=15 USE_GNOME= gnomehack gnomeprefix gnometarget lthack pkgconfig USE_REINPLACE= yes INSTALLS_SHLIB= yes @@ -36,12 +36,16 @@ FFTW3F_WRKSRC= ${WRKDIR}/${DISTNAME}-3F FFTW3F_INSTALL_TARGET=install-pkgconfigDATA install-libLTLIBRARIES install-exec OPTIONS= OPTIMIZED_CFLAGS "Enable optimized CFLAGS" off \ - OPTIMIZED_ATHLON "Enable AMD K7(Athlon) optimizations" off \ - SSE "Enable SSE optimized routines" off \ SMP_THREADS "Enable FFTW SMP threads library" off .include <bsd.port.pre.mk> +.if ${ARCH} == "i386" +OPTIONS+= OPTIMIZED_ATHLON "Enable AMD K7(Athlon) optimizations" off \ + SSE "Enable SSE optimized routines" off + +.endif + .if defined(WITH_OPTIMIZED_CFLAGS) && !defined(WITH_OPTIMIZED_ATHLON) CONFIGURE_ENV+= CFLAGS="${CFLAGS:N-O:N-O*} -O2 -ffast-math -fomit-frame-pointer" .endif |