Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion src/port1.0/portconfigure.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -420,8 +420,12 @@ proc portconfigure::configure_start {args} {
}
dropPrivileges

# Initialize ccache directory with the given maximum size
# Initialize ccache directory with the given maximum size.
# Sync env(CCACHE_DIR) to the (possibly port-overridden) ccache_dir so
# that the ccache binary targets the same directory that was just created
# above rather than the process-level default set in macports.tcl.
if {${configure.ccache}} {
set env(CCACHE_DIR) ${ccache_dir}
if {[catch {
exec ccache -M ${ccache_size} >/dev/null
} result]} {
Expand Down