Browse Source

Merge pull request #4171 from boomanaiden154/clang-libomp-fixes

Fix build with some clang installations when openmp is enabled
tags/v0.3.24
Martin Kroeker GitHub 2 years ago
parent
commit
9a0e9c8b69
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      ctest/Makefile
  2. +1
    -1
      test/Makefile

+ 1
- 1
ctest/Makefile View File

@@ -208,7 +208,7 @@ FLDFLAGS = $(FFLAGS:-fPIC=) $(LDFLAGS)
ifeq ($(USE_OPENMP), 1)
ifeq ($(F_COMPILER), GFORTRAN)
ifeq ($(C_COMPILER), CLANG)
CEXTRALIB = -lomp
CEXTRALIB += -lomp
endif
endif
ifeq ($(F_COMPILER), NAG)


+ 1
- 1
test/Makefile View File

@@ -265,7 +265,7 @@ FLDFLAGS = $(FFLAGS:-fPIC=) $(LDFLAGS)
ifeq ($(USE_OPENMP), 1)
ifeq ($(F_COMPILER), GFORTRAN)
ifeq ($(C_COMPILER), CLANG)
CEXTRALIB = -lomp
CEXTRALIB += -lomp
endif
endif
ifeq ($(F_COMPILER), NAG)


Loading…
Cancel
Save