science/spglib: Correct workaround for missing -lomp for fortran
Reported by: fallout
This commit is contained in:
parent
fb4f59518f
commit
610b2e2dfd
@ -16,6 +16,8 @@ USE_LDCONFIG= yes
|
||||
|
||||
.if !exists(/usr/include/omp.h)
|
||||
CMAKE_OFF+= USE_OMP
|
||||
.else
|
||||
FORTRAN_LDFLAGS= -lomp # workaround for: undefined reference to `__kmpc_fork_call'
|
||||
.endif
|
||||
|
||||
OPTIONS_DEFINE= FORTRAN
|
||||
@ -24,7 +26,6 @@ OPTIONS_SUB= yes
|
||||
|
||||
FORTRAN_USES= fortran
|
||||
FORTRAN_CMAKE_BOOL= WITH_Fortran
|
||||
FORTRAN_LDFLAGS= -lomp # workaround for: undefined reference to `__kmpc_fork_call'
|
||||
|
||||
do-test: # from test/README.md
|
||||
cd ${WRKSRC}/test && \
|
||||
|
Loading…
Reference in New Issue
Block a user