authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2026-08-13 05:14:35+02:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2026-08-31 23:15:49+02:00
logc0363560f1fe9591e7b9ba5ccd4bf4b7bd520952
tree3ac5f74a090e7cf7fdd66029ffe11a1a7c284617
parent80a02c65ac54670a82c206db169d7afcb4f42efe
signaturebadge-check Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

Compilation: remove __serenity__ macro

https://github.com/llvm/llvm-project/pull/187941

1 files changed, 0 insertions(+), 2 deletions(-)

src/Compilation.zig-2
...@@ -6291,8 +6291,6 @@ fn addCommonCCArgs(...@@ -6291,8 +6291,6 @@ fn addCommonCCArgs(
6291 // LLVM doesn't distinguish between Solaris and illumos, but the illumos GCC fork6291 // LLVM doesn't distinguish between Solaris and illumos, but the illumos GCC fork
6292 // defines this macro.6292 // defines this macro.
6293 .illumos => try argv.append("__illumos__"),6293 .illumos => try argv.append("__illumos__"),
6294 // This macro has not yet been upstreamed by SerenityOS to Clang.
6295 .serenity => try argv.append("__serenity__"),
6296 // Homebrew targets without LLVM support; use communities's preferred macros.6294 // Homebrew targets without LLVM support; use communities's preferred macros.
6297 .@"3ds" => try argv.append("-D__3DS__"),6295 .@"3ds" => try argv.append("-D__3DS__"),
6298 .wiiu => try argv.append("-D__WIIU__"),6296 .wiiu => try argv.append("-D__WIIU__"),