Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 546226 Details for
Bug 665474
sys-libs/libomp lacks -lm
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
FreeBSD_bug32279.patch (modified for Linux)
FreeBSD_bug32279.patch (text/plain), 795 bytes, created by
Haelwenn (lanodan) Monnier
on 2018-09-08 01:47:10 UTC
(
hide
)
Description:
FreeBSD_bug32279.patch (modified for Linux)
Filename:
MIME Type:
Creator:
Haelwenn (lanodan) Monnier
Created:
2018-09-08 01:47:10 UTC
Size:
795 bytes
patch
obsolete
>diff --git a/runtime/cmake/LibompHandleFlags.cmake.old b/runtime/cmake/LibompHandleFlags.cmake >index 4bdbf8f..a411119 100644 >--- a/runtime/cmake/LibompHandleFlags.cmake.old >+++ b/runtime/cmake/LibompHandleFlags.cmake >@@ -152,6 +152,11 @@ function(libomp_get_libflags libflags) > if(${IA32}) > libomp_append(libflags_local -lirc_pic LIBOMP_HAVE_IRC_PIC_LIBRARY) > endif() >+ IF(${CMAKE_SYSTEM_NAME} MATCHES "Linux") >+ 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 "Linux") > IF(${CMAKE_SYSTEM_NAME} MATCHES "NetBSD") > libomp_append(libflags_local -lm) > ENDIF(${CMAKE_SYSTEM_NAME} MATCHES "NetBSD")
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 665474
: 546226