From 3dd329b8cffe15939669a1fbc8f3dd4da88be7f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20R=C3=B8nne=20Petersen?= Date: Thu, 13 Aug 2026 05:14:35 +0200 Subject: [PATCH] Compilation: remove __serenity__ macro https://github.com/llvm/llvm-project/pull/187941 --- src/Compilation.zig | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/Compilation.zig b/src/Compilation.zig index 711b434c57d85cd9f6ae6df784f4b73a529b4b1e..610640d18e212787f9d43c95b63571d33b1f108d 100644 --- a/src/Compilation.zig +++ b/src/Compilation.zig @@ -6300,8 +6300,6 @@ fn addCommonCCArgs( // LLVM doesn't distinguish between Solaris and illumos, but the illumos GCC fork // defines this macro. .illumos => try argv.append("__illumos__"), - // This macro has not yet been upstreamed by SerenityOS to Clang. - .serenity => try argv.append("__serenity__"), // Homebrew targets without LLVM support; use communities's preferred macros. .@"3ds" => try argv.append("-D__3DS__"), .wiiu => try argv.append("-D__WIIU__"), -- 2.54.0