Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 665474
Collapse All | Expand All

(-)a/runtime/cmake/LibompHandleFlags.cmake.old (+5 lines)
Lines 152-157 function(libomp_get_libflags libflags) Link Here
152
  if(${IA32})
152
  if(${IA32})
153
    libomp_append(libflags_local -lirc_pic LIBOMP_HAVE_IRC_PIC_LIBRARY)
153
    libomp_append(libflags_local -lirc_pic LIBOMP_HAVE_IRC_PIC_LIBRARY)
154
  endif()
154
  endif()
155
  IF(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
156
  libomp_append(libflags_local "-Wl,--no-as-needed" LIBOMP_HAVE_AS_NEEDED_FLAG)
157
  libomp_append(libflags_local -lm)
158
  libomp_append(libflags_local "-Wl,--as-needed" LIBOMP_HAVE_AS_NEEDED_FLAG)
159
  ENDIF(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
155
  IF(${CMAKE_SYSTEM_NAME} MATCHES "NetBSD")
160
  IF(${CMAKE_SYSTEM_NAME} MATCHES "NetBSD")
156
    libomp_append(libflags_local -lm)
161
    libomp_append(libflags_local -lm)
157
  ENDIF(${CMAKE_SYSTEM_NAME} MATCHES "NetBSD")
162
  ENDIF(${CMAKE_SYSTEM_NAME} MATCHES "NetBSD")

Return to bug 665474