1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00

Add WITH_OPTIMIZED_FLAGS knob.

PR:		98124
Submitted by:	Pedro F. Giffuni (maintainer)
This commit is contained in:
Roman Bogorodskiy 2006-05-31 04:51:46 +00:00
parent 16b610b5a7
commit 2d79bef410
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=164046

View File

@ -29,9 +29,13 @@ WITH_FORTRAN= yes
FC= ${LOCALBASE}/bin/gfortran41
F77= ${FC}
.ifdef WITH_OPTIMIZED_FLAGS
FCFLAGS+= -O3 -ffast-math -funroll-loops
.endif
USE_AUTOTOOLS= autoconf:259
GNU_CONFIGURE= yes
CONFIGURE_ENV+= FC=${FC} F77=${FC} FCFLAGS=${FCFLAGS}
CONFIGURE_ENV+= FC=${FC} F77=${FC} FCFLAGS="${FCFLAGS}"
USE_GMAKE= yes
ALL_TARGET=
INSTALLS_SHLIB= yes