logo

etc_portage

Unnamed repository; edit this file 'description' to name the repository. git clone https://hacktivis.me/git/etc_portage.git

FreeBSD_bug32279.patch (739B)


  1. --- a/runtime/cmake/LibompHandleFlags.cmake
  2. +++ b/runtime/cmake/LibompHandleFlags.cmake
  3. @@ -152,6 +152,11 @@ function(libomp_get_libflags libflags)
  4. libomp_append(libflags_local "-lm")
  5. libomp_append(libflags_local "-Wl,--as-needed" LIBOMP_HAVE_AS_NEEDED_FLAG)
  6. ENDIF(${CMAKE_SYSTEM_NAME} MATCHES "DragonFly")
  7. + IF(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
  8. + libomp_append(libflags_local "-Wl,--no-as-needed" LIBOMP_HAVE_AS_NEEDED_FLAG)
  9. + libomp_append(libflags_local -lm)
  10. + libomp_append(libflags_local "-Wl,--as-needed" LIBOMP_HAVE_AS_NEEDED_FLAG)
  11. + ENDIF(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
  12. IF(${CMAKE_SYSTEM_NAME} MATCHES "NetBSD")
  13. libomp_append(libflags_local -lm)
  14. ENDIF(${CMAKE_SYSTEM_NAME} MATCHES "NetBSD")