mirror of
https://github.com/RGBCube/serenity
synced 2025-07-30 03:57:45 +00:00
Ports/mold: Update to 1.5.1 and use CMake instead of Makefile
Per the release notes for 1.5.0, the CMake build is preferred going forward. This lets us drop some Makefile patches and pass them as CMake options instead, with the exception of disabling mold-wrapper.so.
This commit is contained in:
parent
376425639d
commit
32c9be30dc
10 changed files with 54 additions and 116 deletions
|
@ -0,0 +1,22 @@
|
|||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||
From: Andrew Kaster <andrewdkaster@gmail.com>
|
||||
Date: Sun, 2 Oct 2022 19:42:51 -0600
|
||||
Subject: [PATCH] Disable mold-wrapper.so on SerenityOS
|
||||
|
||||
---
|
||||
CMakeLists.txt | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 79c035d5f523eece5a6da7c9f0994993ddb00364..368fa741aff60f41ba5842ad2450d87a1bea4401 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -141,7 +141,7 @@ else()
|
||||
endif()
|
||||
endif()
|
||||
|
||||
-if(NOT APPLE AND NOT WIN32)
|
||||
+if(NOT APPLE AND NOT WIN32 AND NOT SERENITYOS)
|
||||
add_library(mold-wrapper SHARED)
|
||||
install(TARGETS mold-wrapper DESTINATION ${CMAKE_INSTALL_LIBDIR}/mold)
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue