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-10-07 00:30:52+02:00
log2b06d3c44a91831308bf68492f9ddd2b8c61e6fa
treed2a2cc222e823ce0121d582169ce1bef589736bd
parent902c7bb4ffb0b4bfd6de5fc8058bf147fc5d5a3d
signature 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
...@@ -6358,8 +6358,6 @@ fn addCommonCCArgs(...@@ -6358,8 +6358,6 @@ fn addCommonCCArgs(
6358 // LLVM doesn't distinguish between Solaris and illumos, but the illumos GCC fork6358 // LLVM doesn't distinguish between Solaris and illumos, but the illumos GCC fork
6359 // defines this macro.6359 // defines this macro.
6360 .illumos => try argv.append("-D__illumos__"),6360 .illumos => try argv.append("-D__illumos__"),
6361 // This macro has not yet been upstreamed by SerenityOS to Clang.
6362 .serenity => try argv.append("-D__serenity__"),
6363 // Homebrew targets without LLVM support; use communities's preferred macros.6361 // Homebrew targets without LLVM support; use communities's preferred macros.
6364 .@"3ds" => try argv.append("-D__3DS__"),6362 .@"3ds" => try argv.append("-D__3DS__"),
6365 .wiiu => try argv.append("-D__WIIU__"),6363 .wiiu => try argv.append("-D__WIIU__"),