mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-31 10:46:16 +00:00
Fix broken on alpha
Submitted by: kris via bento
This commit is contained in:
parent
7d480c1b00
commit
0b295fa5b8
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=99184
@ -24,6 +24,12 @@ INSTALLS_SHLIB= yes
|
||||
USE_REINPLACE= yes
|
||||
PKGNAMESUFFIX= -devel
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 501000 && ${MACHINE_ARCH} == "alpha"
|
||||
USE_GCC=3.3
|
||||
.endif
|
||||
|
||||
# only affects for lapack sub project
|
||||
.if defined(WITH_OPTIMIZED_FLAGS)
|
||||
FFLAGS+= -pipe -O3 -ffast-math -finline-functions -fstrength-reduce -funroll-loops -fexpensive-optimizations
|
||||
@ -32,8 +38,6 @@ FFLAGS+= -mfancy-math-387 -mpreferred-stack-boundary=3 -malign-double
|
||||
.endif # i386
|
||||
.endif
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
post-patch:
|
||||
.if !defined(WITH_OPTIMIZED_FLAGS)
|
||||
@${ECHO_CMD} "You can optimize lapack sub project by setting WITH_OPTIMIZED_FLAGS=yes."
|
||||
|
Loading…
Reference in New Issue
Block a user