diff options
Diffstat (limited to 'devel/llvm37/files/openmp-patch-bug32279')
-rw-r--r-- | devel/llvm37/files/openmp-patch-bug32279 | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/devel/llvm37/files/openmp-patch-bug32279 b/devel/llvm37/files/openmp-patch-bug32279 deleted file mode 100644 index b0c21a60776b..000000000000 --- a/devel/llvm37/files/openmp-patch-bug32279 +++ /dev/null @@ -1,25 +0,0 @@ ---- tools/openmp/runtime/cmake/LibompHandleFlags.cmake.orig 2017-03-16 15:57:00 UTC -+++ tools/openmp/runtime/cmake/LibompHandleFlags.cmake -@@ -165,6 +165,11 @@ function(libomp_get_fflags fflags) - if(${IA32}) - libomp_append(fflags_local -m32 LIBOMP_HAVE_M32_FORTRAN_FLAG) - endif() -+ IF(${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD") -+ libomp_append(libflags_local "-Wl,--no-as-needed" LIBOMP_HAVE_AS_NEEDED_FLAG) -+ libomp_append(libflags_local "-lm") -+ libomp_append(libflags_local "-Wl,--as-needed" LIBOMP_HAVE_AS_NEEDED_FLAG) -+ ENDIF(${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD") - set(fflags_local ${fflags_local} ${LIBOMP_FFLAGS}) - libomp_setup_flags(fflags_local) - set(${fflags} ${fflags_local} PARENT_SCOPE) ---- tools/openmp/runtime/cmake/LibompMicroTests.cmake.orig 2017-03-16 15:57:29 UTC -+++ tools/openmp/runtime/cmake/LibompMicroTests.cmake -@@ -168,7 +168,7 @@ add_custom_command( - add_custom_target(libomp-test-deps DEPENDS test-deps/.success) - set(libomp_expected_library_deps) - if(CMAKE_SYSTEM_NAME MATCHES "FreeBSD") -- set(libomp_expected_library_deps libc.so.7 libthr.so.3) -+ set(libomp_expected_library_deps libc.so.7 libthr.so.3 libm.so.5) - elseif(APPLE) - set(libomp_expected_library_deps /usr/lib/libSystem.B.dylib) - elseif(WIN32) |