Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F153169884
D49662.id153150.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
811 B
Referenced Files
None
Subscribers
None
D49662.id153150.diff
View Options
diff --git a/Mk/bsd.ccache.mk b/Mk/bsd.ccache.mk
--- a/Mk/bsd.ccache.mk
+++ b/Mk/bsd.ccache.mk
@@ -103,14 +103,14 @@
@${LN} -sf ${CCACHE_DIR} ${WRKDIR}/.ccache
ccache-wrkdir-link: ${WRKDIR}/.ccache .PHONY
post-extract: ccache-wrkdir-link
-. endif
# enable ccache in case of USES=llvm and cmake
-. if ${CCACHE_ENABLED} == yes && \
- defined(_INCLUDE_USES_LLVM_MK) && \
- defined(_INCLUDE_USES_CMAKE_MK)
-CMAKE_ARGS+= -DCMAKE_C_COMPILER_LAUNCHER=ccache \
- -DCMAKE_CXX_COMPILER_LAUNCHER=ccache
+. if defined(_INCLUDE_USES_LLVM_MK) && \
+ defined(_INCLUDE_USES_CMAKE_MK)
+CMAKE_ARGS+= -DCMAKE_C_COMPILER_LAUNCHER=${CCACHE_BIN} \
+ -DCMAKE_CXX_COMPILER_LAUNCHER=${CCACHE_BIN} \
+ -DCMAKE_CPP_COMPILER_LAUNCHER=${CCACHE_BIN}
+. endif
. endif
.endif
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Apr 20, 2:21 PM (10 h, 37 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31845065
Default Alt Text
D49662.id153150.diff (811 B)
Attached To
Mode
D49662: Mk/bsd.ccache.mk: Make cmake support more flexible
Attached
Detach File
Event Timeline
Log In to Comment