1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-08 16:47:34 +00:00
serenity/Ports/llvm/patches/ReadMe.md
Andrew Kaster 4dc538da0e Ports: Remove build-crt patch from llvm
This patch has been integrated into the toolchain.patch file.
2022-01-03 11:08:45 +00:00

1,005 B

Patches for LLVM on SerenityOS

insert-ifdef-serenity.patch

This patch adds several defines in order to omit things not supported by SerenityOS.

Status

  • Local?
  • Should be merged to upstream?
  • Resolves issue(s) with our side of things
  • Hack

remove-version-script.patch

Instructs the linker to not build LLVM shared libraries (libclang.so, libLTO.so, etc.) with symbol versioning, which our dynamic linker does not support.

Status

  • Local?
  • Should be merged to upstream?
  • Resolves issue(s) with our side of things
  • Hack

toolchain.patch

Adds support for the $arch-pc-serenity target to the Clang front end. This makes the compiler look for libraries and headers in the right places, and enables some security mitigations, like stack-smashing protection and building position-independent executables by default.

Status

  • Local?
  • Should be merged to upstream?
  • Resolves issue(s) with our side of things
  • Hack