1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

graphics/colmap: unbreak OPENMP on -CURRENT i386 after r499662

ld: error: undefined symbol: __atomic_load
>>> referenced by PoissonRecon.cpp
>>>               PoissonRecon.cpp.o:(.omp_outlined.) in archive lib/PoissonRecon/libpoisson_recon.a

ld: error: undefined symbol: __atomic_compare_exchange
>>> referenced by PoissonRecon.cpp
>>>               PoissonRecon.cpp.o:(.omp_outlined.) in archive lib/PoissonRecon/libpoisson_recon.a

Reported by:	pkg-fallout
This commit is contained in:
Jan Beich 2019-04-27 19:09:15 +00:00
parent e0747db975
commit 3b7528c7fe
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=500264

View File

@ -49,7 +49,8 @@ DOCS_PORTDOCS= *
OPENMP_USES= compiler:openmp
OPENMP_CMAKE_BOOL= OPENMP_ENABLED
.if !exists(/usr/include/omp.h)
.if ${MACHINE_ARCH} == i386 || !exists(/usr/include/omp.h)
# XXX base/230888 via #pragma omp atomic
# XXX ports/199603 + ports/210337
OPENMP_VARS= OPENMP=gcc-
.endif