diff options
author | Andrew Kaster <akaster@serenityos.org> | 2022-01-02 21:57:02 -0700 |
---|---|---|
committer | Brian Gianforcaro <b.gianfo@gmail.com> | 2022-01-03 11:08:45 +0000 |
commit | 4dc538da0eb5c6fa2627f1d666f6cfaeac583e58 (patch) | |
tree | ad4b2063c15b857a7d69d87536260a4754a5d895 /Ports | |
parent | c5898806d2f1aeb059c846d502e78403fa365831 (diff) | |
download | serenity-4dc538da0eb5c6fa2627f1d666f6cfaeac583e58.zip |
Ports: Remove build-crt patch from llvm
This patch has been integrated into the toolchain.patch file.
Diffstat (limited to 'Ports')
-rw-r--r-- | Ports/llvm/patches/ReadMe.md | 10 | ||||
-rw-r--r-- | Ports/llvm/patches/build-crt.patch | 13 |
2 files changed, 0 insertions, 23 deletions
diff --git a/Ports/llvm/patches/ReadMe.md b/Ports/llvm/patches/ReadMe.md index 7192608b29..1f20713004 100644 --- a/Ports/llvm/patches/ReadMe.md +++ b/Ports/llvm/patches/ReadMe.md @@ -1,15 +1,5 @@ # Patches for LLVM on SerenityOS -## `build-crt.patch` - -This patch lets us use LLVM's `crtbegin.o`/`crtend.o` implementation. - -### Status -- [ ] Local? -- [x] Should be merged to upstream? -- [ ] Resolves issue(s) with our side of things -- [ ] Hack - ## `insert-ifdef-serenity.patch` This patch adds several defines in order to omit things not supported by SerenityOS. diff --git a/Ports/llvm/patches/build-crt.patch b/Ports/llvm/patches/build-crt.patch deleted file mode 100644 index e589ffca63..0000000000 --- a/Ports/llvm/patches/build-crt.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/compiler-rt/cmake/config-ix.cmake b/compiler-rt/cmake/config-ix.cmake -index 39b9120f0..1a49ac3e5 100644 ---- a/compiler-rt/cmake/config-ix.cmake -+++ b/compiler-rt/cmake/config-ix.cmake -@@ -684,7 +684,7 @@ endif() - - # TODO: Add builtins support. - --if (CRT_SUPPORTED_ARCH AND OS_NAME MATCHES "Linux" AND NOT LLVM_USE_SANITIZER) -+if (CRT_SUPPORTED_ARCH AND OS_NAME MATCHES "Linux|SerenityOS" AND NOT LLVM_USE_SANITIZER) - set(COMPILER_RT_HAS_CRT TRUE) - else() - set(COMPILER_RT_HAS_CRT FALSE) |