We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent acef83c commit 5feebdcCopy full SHA for 5feebdc
openmp/runtime/cmake/LibompHandleFlags.cmake
@@ -140,7 +140,7 @@ function(libomp_get_libflags libflags)
140
if(LIBOMP_HAVE_SHM_OPEN_WITH_LRT)
141
libomp_append(libflags_local -lrt)
142
endif()
143
- if(${CMAKE_SYSTEM_NAME} MATCHES "DragonFly|FreeBSD")
+ if(${CMAKE_SYSTEM_NAME} MATCHES "DragonFly|FreeBSD|OpenBSD")
144
libomp_append(libflags_local "-Wl,--no-as-needed" LIBOMP_HAVE_AS_NEEDED_FLAG)
145
libomp_append(libflags_local "-lm")
146
libomp_append(libflags_local "-Wl,--as-needed" LIBOMP_HAVE_AS_NEEDED_FLAG)
0 commit comments