https://git.reactos.org/?p=reactos.git;a=commitdiff;h=44d2513ac6ce99e4e3421…
commit 44d2513ac6ce99e4e3421826c5b186bf689aca08
Author: Serge Gautherie <reactos-git_serge_171003(a)gautherie.fr>
AuthorDate: Sun Jun 14 13:49:22 2020 +0200
Commit: Victor Perevertkin <victor(a)perevertkin.ru>
CommitDate: Tue Dec 28 01:56:33 2021 +0300
[CMAKE] toolchain-clang.cmake: Use overrides-gcc.cmake
Addendum to 8cd5c4e.
CORE-14513
---
toolchain-clang.cmake | 2 ++
1 file changed, 2 insertions(+)
diff --git a/toolchain-clang.cmake b/toolchain-clang.cmake
index e06a4116438..de974bdb572 100644
--- a/toolchain-clang.cmake
+++ b/toolchain-clang.cmake
@@ -60,3 +60,5 @@ message(STATUS "Using linker ${LD_EXECUTABLE}")
set(CMAKE_SHARED_LINKER_FLAGS_INIT "-nostdlib
-Wl,--enable-auto-image-base,--disable-auto-import -fuse-ld=${LD_EXECUTABLE}")
set(CMAKE_MODULE_LINKER_FLAGS_INIT "-nostdlib
-Wl,--enable-auto-image-base,--disable-auto-import -fuse-ld=${LD_EXECUTABLE}")
set(CMAKE_EXE_LINKER_FLAGS_INIT "-nostdlib
-Wl,--enable-auto-image-base,--disable-auto-import -fuse-ld=${LD_EXECUTABLE}")
+
+set(CMAKE_USER_MAKE_RULES_OVERRIDE
"${CMAKE_CURRENT_LIST_DIR}/overrides-gcc.cmake")