summaryrefslogtreecommitdiff
path: root/Meta/Lagom/Tools
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2022-10-06 17:10:17 +0200
committerAndreas Kling <kling@serenityos.org>2022-10-06 17:15:28 +0200
commitf190e394b3ba227028baed06ab5c89f1b193e0f4 (patch)
tree0c203c8d99570d18dada95c6478058d086c61841 /Meta/Lagom/Tools
parent9d50191dca5dab48cbbc9975e731e439c3441afd (diff)
downloadserenity-f190e394b3ba227028baed06ab5c89f1b193e0f4.zip
LibUnicode: Let's use the GCC 11/12 workaround on all platforms
I seem to be getting some miscompiles on Linux as well, so let's make the hitherto macOS-specific workaround universal.
Diffstat (limited to 'Meta/Lagom/Tools')
-rw-r--r--Meta/Lagom/Tools/CodeGenerators/LibUnicode/GenerateUnicodeData.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Meta/Lagom/Tools/CodeGenerators/LibUnicode/GenerateUnicodeData.cpp b/Meta/Lagom/Tools/CodeGenerators/LibUnicode/GenerateUnicodeData.cpp
index 3aab2b4b96..a9c8a35f23 100644
--- a/Meta/Lagom/Tools/CodeGenerators/LibUnicode/GenerateUnicodeData.cpp
+++ b/Meta/Lagom/Tools/CodeGenerators/LibUnicode/GenerateUnicodeData.cpp
@@ -210,8 +210,8 @@ static CodePointRange parse_code_point_range(StringView list)
return code_point_range;
}
-// gcc-11, gcc-12 have a codegen bug on (at least) intel macOS 10.15, see #15449.
-#if defined(AK_COMPILER_GCC) && defined(AK_OS_MACOS)
+// gcc-11, gcc-12 have a codegen bug, see #15449.
+#if defined(AK_COMPILER_GCC)
# pragma GCC push_options
# pragma GCC optimize("O0")
#endif
@@ -691,7 +691,7 @@ static ErrorOr<void> parse_unicode_data(Core::Stream::BufferedFile& file, Unicod
return {};
}
-#if defined(AK_COMPILER_GCC) && defined(AK_OS_MACOS)
+#if defined(AK_COMPILER_GCC)
# pragma GCC pop_options
#endif