Changeset View
Changeset View
Standalone View
Standalone View
math/fftw3/Makefile
Show First 20 Lines • Show All 112 Lines • ▼ Show 20 Lines | |||||
.endif | .endif | ||||
PLIST_SUB+= FFTW3_SUFX="${FFTW3_SUFX}" | PLIST_SUB+= FFTW3_SUFX="${FFTW3_SUFX}" | ||||
.include <bsd.port.pre.mk> | .include <bsd.port.pre.mk> | ||||
.if ${PORT_OPTIONS:MOPTIMIZED_CFLAGS} | .if ${PORT_OPTIONS:MOPTIMIZED_CFLAGS} | ||||
CFLAGS+= -O3 -ffast-math -fstrict-aliasing | CFLAGS+= -O3 -ffast-math -fstrict-aliasing | ||||
. if !defined(WITH_DEBUG) | . if ! ${PORT_OPTIONS:MDEBUG} | ||||
CFLAGS+= -fomit-frame-pointer | CFLAGS+= -fomit-frame-pointer | ||||
. endif | . endif | ||||
. if ${ARCH} == "i386" && (${COMPILER_TYPE} == "gcc" || !empty(USE_GCC)) && !${PORT_OPTIONS:MOPENMPI} | . if ${ARCH} == "i386" && (${COMPILER_TYPE} == "gcc" || !empty(USE_GCC)) && !${PORT_OPTIONS:MOPENMPI} | ||||
CFLAGS+= -malign-double | CFLAGS+= -malign-double | ||||
. endif | . endif | ||||
. if ${ARCH} == "armv6" && ${OPSYS} == FreeBSD && ${OSVERSION} < 1200032 | . if ${ARCH} == "armv6" && ${OPSYS} == FreeBSD && ${OSVERSION} < 1200032 | ||||
CFLAGS+= -fno-unsafe-math-optimizations | CFLAGS+= -fno-unsafe-math-optimizations | ||||
. endif | . endif | ||||
Show All 35 Lines |