mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-28 05:35:52 +03:00
Ports: Remove build-crt patch from llvm
This patch has been integrated into the toolchain.patch file.
This commit is contained in:
parent
c5898806d2
commit
4dc538da0e
Notes:
sideshowbarker
2024-07-17 21:46:11 +09:00
Author: https://github.com/ADKaster Commit: https://github.com/SerenityOS/serenity/commit/4dc538da0eb Pull-request: https://github.com/SerenityOS/serenity/pull/11584 Reviewed-by: https://github.com/BertalanD
@ -1,15 +1,5 @@
|
|||||||
# Patches for LLVM on SerenityOS
|
# 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`
|
## `insert-ifdef-serenity.patch`
|
||||||
|
|
||||||
This patch adds several defines in order to omit things not supported by SerenityOS.
|
This patch adds several defines in order to omit things not supported by SerenityOS.
|
||||||
|
@ -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)
|
|
Loading…
Reference in New Issue
Block a user