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 (554B)


  1. --- a/runtime/cmake/LibompHandleFlags.cmake
  2. +++ b/runtime/cmake/LibompHandleFlags.cmake
  3. @@ -158,7 +158,7 @@ function(libomp_get_libflags libflags)
  4. if(${IA32})
  5. libomp_append(libflags_local -lirc_pic LIBOMP_HAVE_IRC_PIC_LIBRARY)
  6. endif()
  7. - if(${CMAKE_SYSTEM_NAME} MATCHES "DragonFly")
  8. + if(${CMAKE_SYSTEM_NAME} MATCHES "(DragonFly|Linux)")
  9. libomp_append(libflags_local "-Wl,--no-as-needed" LIBOMP_HAVE_AS_NEEDED_FLAG)
  10. libomp_append(libflags_local "-lm")
  11. libomp_append(libflags_local "-Wl,--as-needed" LIBOMP_HAVE_AS_NEEDED_FLAG)