mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
math/suitesparse: fix build on powerpc64 elfv1
After last update, compiler:openmpi comes before compiler:c++11-lang. This effectively overrides compiler:c++11-lang and causes base GCC to be used. compiler:openmpi could probably be dropped, now that all supported FreeBSD versions have compiler that supports OpenMP (either GCC or Clang), but this would mean that Clang architectures would switch from GCC to Clang for this port, so it would have to be separately tested by the maintainer.
This commit is contained in:
parent
9e92c87051
commit
69ae5144ba
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=531723
@ -63,6 +63,8 @@ TBB_MAKE_ENV= TBB="-ltbb" SPQR_CONFIG="-DHAVE_TBB"
|
|||||||
# See PR 230888 : Missing 64 bit atomic functions for i386
|
# See PR 230888 : Missing 64 bit atomic functions for i386
|
||||||
USES+= compiler:gcc-c++11-lib
|
USES+= compiler:gcc-c++11-lib
|
||||||
LDFLAGS+= -latomic
|
LDFLAGS+= -latomic
|
||||||
|
.elif defined(PPC_ABI) && ${PPC_ABI} == ELFv1
|
||||||
|
USE_GCC= yes
|
||||||
.else
|
.else
|
||||||
USES+= compiler:${OPENMP}c++11-lib
|
USES+= compiler:${OPENMP}c++11-lib
|
||||||
.endif
|
.endif
|
||||||
|
Loading…
Reference in New Issue
Block a user