thunderbird/gcc12-D139088.patch
Eike Rathke 6ed0a431e0 Add gcc 12 build fixes
Borrowed from Firefox and partly adjusted.

This still does not solve the
"undefined references to `std::__glibcxx_assert_fail"
on f36 (waiting for a gcc 12 fix) but does on f37.
2022-03-17 19:35:52 +01:00

14 lines
345 B
Diff

diff --git a/gfx/wr/swgl/src/gl.cc b/gfx/wr/swgl/src/gl.cc
--- a/gfx/wr/swgl/src/gl.cc
+++ b/gfx/wr/swgl/src/gl.cc
@@ -82,7 +82,7 @@
#define FALLTHROUGH [[fallthrough]]
-#ifdef MOZILLA_CLIENT
+#if defined(MOZILLA_CLIENT) && defined(MOZ_CLANG_PLUGIN)
# define IMPLICIT __attribute__((annotate("moz_implicit")))
#else
# define IMPLICIT