mirror of
https://github.com/RGBCube/serenity
synced 2025-07-29 04:07:34 +00:00

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.
22 lines
706 B
Diff
22 lines
706 B
Diff
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)
|
|
|