diff options
author | athenian200 <athenian200@outlook.com> | 2019-10-04 04:35:10 -0500 |
---|---|---|
committer | athenian200 <athenian200@outlook.com> | 2019-10-21 04:53:43 -0500 |
commit | b2e7cad047c348ef4ff3326f239e08dc035b6150 (patch) | |
tree | 931b1655817eb00542653d30aed335914cde6be2 /config | |
parent | 1faa786476c508628af9e7fbaefb1e3b8270f22c (diff) | |
download | aura-central-b2e7cad047c348ef4ff3326f239e08dc035b6150.tar.gz |
MoonchildProductions%1251 - Part 20: Add atomic.h to system-headers.
https://bugzilla.mozilla.org/show_bug.cgi?id=1369061
OpenIndiana used a much messier fix for this, but this one was used by Mozilla and looks a lot cleaner. It shouldn't interfere with any other targets, but if it does, the messy version of this fix basically involves rewriting the Solaris version of atomicops_internals_solaris.h to use GCC compiler intrinsics for atomic operations directly. It absolutely works, but it's gross to look at.
https://github.com/OpenIndiana/oi-userland/blob/3b246b0b385735b092a88f58f9baa9799ee34761/components/web/firefox/patches/01-FF43.0b3_OpenSXCE_x86_x64.patch
Another fix may be possible by preventing config/gcc-hidden.h from being included, or possibly using well-placed GCC pragmas to solve the visibility issues.
Diffstat (limited to 'config')
-rw-r--r-- | config/system-headers | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/config/system-headers b/config/system-headers index 683c9d337..b4f901792 100644 --- a/config/system-headers +++ b/config/system-headers @@ -1,3 +1,4 @@ +atomic.h nspr.h plarena.h plarenas.h |