diff options
author | Sam James <sam@gentoo.org> | 2022-01-13 01:41:45 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-01-13 01:42:08 +0000 |
commit | be02856a46e00bbb861fd3c651cac42c2b7697d0 (patch) | |
tree | fd8315e8d644cb29e2711f3cf7f28cfa1e73383b /dev-lang/mono/files | |
parent | profiles/arch/arm64: unmask gnome[classic] (diff) | |
download | gentoo-be02856a46e00bbb861fd3c651cac42c2b7697d0.tar.gz gentoo-be02856a46e00bbb861fd3c651cac42c2b7697d0.tar.bz2 gentoo-be02856a46e00bbb861fd3c651cac42c2b7697d0.zip |
dev-lang/mono: fix automagic ccache usage
This is for users to enable, not for build systems to do it based
on whether ccache is installed (which leads to sandbox issues anyway).
Closes: https://bugs.gentoo.org/830562
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-lang/mono/files')
-rw-r--r-- | dev-lang/mono/files/mono-6.12.0.122-disable-automagic-ccache.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/dev-lang/mono/files/mono-6.12.0.122-disable-automagic-ccache.patch b/dev-lang/mono/files/mono-6.12.0.122-disable-automagic-ccache.patch new file mode 100644 index 000000000000..b92592f6ea32 --- /dev/null +++ b/dev-lang/mono/files/mono-6.12.0.122-disable-automagic-ccache.patch @@ -0,0 +1,22 @@ +https://bugs.gentoo.org/831079 +--- a/mono/btls/CMakeLists.txt ++++ b/mono/btls/CMakeLists.txt +@@ -12,11 +12,6 @@ endif() + enable_language(C) + enable_language(CXX) + +-find_program(CCACHE_PROGRAM ccache) +-if(CCACHE_PROGRAM) +- set_property(GLOBAL PROPERTY RULE_LAUNCH_COMPILE "${CCACHE_PROGRAM}") +-endif() +- + if (MSVC OR CYGWIN) + set(BTLS_HOST_WIN32 1) + endif () +@@ -129,4 +124,4 @@ endif () + + if (CYGWIN) + target_link_libraries (mono-btls-shared wsock32 ws2_32) +-endif () +\ No newline at end of file ++endif () |