Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 381620 Details for
Bug 518288
net-libs/webkit-gtk-2.4.4 fails to compile on ppc
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
atomic_build_fix.patch
atomic_build_fix.patch (text/plain), 737 bytes, created by
Pacho Ramos
on 2014-07-26 21:59:54 UTC
(
hide
)
Description:
atomic_build_fix.patch
Filename:
MIME Type:
Creator:
Pacho Ramos
Created:
2014-07-26 21:59:54 UTC
Size:
737 bytes
patch
obsolete
>From: Alberto Garcia <berto@igalia.com> >Subject: Some architectures need to add -latomic explicitly >Index: webkit/Source/autotools/SetupCompilerFlags.m4 >=================================================================== >--- webkit.orig/Source/autotools/SetupCompilerFlags.m4 >+++ webkit/Source/autotools/SetupCompilerFlags.m4 >@@ -57,3 +57,18 @@ else > CXXFLAGS="$CXXFLAGS -O0" > CFLAGS="$CFLAGS -O0" > fi >+ >+# Some architectures need to add libatomic explicitly >+AC_LANG_PUSH([C++]) >+AC_LINK_IFELSE([AC_LANG_SOURCE([[ >+#include <atomic> >+int main() { >+ std::atomic<int64_t> i(0); >+ i++; >+ return 0; >+} >+]])], has_atomic=yes, has_atomic=no) >+AC_LANG_POP([C++]) >+if test "$has_atomic" = "no"; then >+ LIBS="$LIBS -latomic" >+fi
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 518288
:
381612
| 381620