diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-10-18 21:57:33 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-10-18 21:57:33 +0100 |
commit | 99c41a033e7745ed8aa9ffbf0f9e1e414e80da4a (patch) | |
tree | d7dd421828aea0525f9e8fad6380cdf6daf1ec04 /sys-devel/mold/files | |
parent | e903f5ad5c87da9f55a9c9fa0d0e5c531d25af3f (diff) |
gentoo auto-resync : 18:10:2023 - 21:57:33
Diffstat (limited to 'sys-devel/mold/files')
-rw-r--r-- | sys-devel/mold/files/mold-2.3.0-no-pch.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/sys-devel/mold/files/mold-2.3.0-no-pch.patch b/sys-devel/mold/files/mold-2.3.0-no-pch.patch new file mode 100644 index 000000000000..e61b5df01f54 --- /dev/null +++ b/sys-devel/mold/files/mold-2.3.0-no-pch.patch @@ -0,0 +1,12 @@ +We generally disable PCH in Gentoo because of how buggy it is. +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -400,7 +400,7 @@ endif() + + # Add frequently included header files for pre-compiling. + # target_precompile_headers is supported by CMake 3.16.0 or newer. +-if(${CMAKE_VERSION} VERSION_GREATER_EQUAL "3.16.0") ++if(FALSE) + if(MOLD_IS_SOLD) + target_precompile_headers(mold PRIVATE + "$<$<COMPILE_LANGUAGE:CXX>:${CMAKE_SOURCE_DIR}/elf/mold.h>" |