mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
Fix build with WITH_OPTIMIZED_FLAGS
PR: 74011 Submitted by: Jie Gao <gaoj at cpsc.ucalgary.ca>
This commit is contained in:
parent
a0265a611c
commit
23f68d87ca
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=122194
1 changed files with 3 additions and 1 deletions
|
@ -33,6 +33,8 @@ WRKSRC= ${WRKDIR}/${PORTNAME}
|
||||||
LAPACK= -lalapack
|
LAPACK= -lalapack
|
||||||
CBLAS= -lcblas -lf77blas -latlas -lg2c
|
CBLAS= -lcblas -lf77blas -latlas -lg2c
|
||||||
|
|
||||||
|
.include <bsd.port.pre.mk>
|
||||||
|
|
||||||
.if defined(WITH_OPTIMIZED_FLAGS)
|
.if defined(WITH_OPTIMIZED_FLAGS)
|
||||||
FFLAGS+= -O3 -ffast-math -finline-functions -fomit-frame-pointer -funroll-loops -fexpensive-optimizations -malign-double
|
FFLAGS+= -O3 -ffast-math -finline-functions -fomit-frame-pointer -funroll-loops -fexpensive-optimizations -malign-double
|
||||||
CXXFLAGS+= -O3 -ffast-math -finline-functions -fomit-frame-pointer -funroll-loops -fexpensive-optimizations -malign-double -Wno-multichar
|
CXXFLAGS+= -O3 -ffast-math -finline-functions -fomit-frame-pointer -funroll-loops -fexpensive-optimizations -malign-double -Wno-multichar
|
||||||
|
@ -72,4 +74,4 @@ do-install:
|
||||||
|
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.post.mk>
|
||||||
|
|
Loading…
Add table
Reference in a new issue