mirror of
https://github.com/genodelabs/genode.git
synced 2025-03-21 03:25:34 +00:00
build: operate ccache in preprocessor mode
This avoids consistency problems when header files are shadowed. Fixes #4256
This commit is contained in:
parent
040628894c
commit
82a51d8eaa
@ -370,6 +370,9 @@ ifneq ($(filter /%,$(CUSTOM_CXX)),)
|
||||
export CCACHE_PATH := $(dir $(CUSTOM_CXX)):$(PATH)
|
||||
endif
|
||||
|
||||
# force preprocessor mode
|
||||
export CCACHE_NODIRECT=1
|
||||
|
||||
# override CUSTOM_CC and CUSTOM_CXX to point to the ccache symlinks
|
||||
export CUSTOM_CC := $(CCACHED_CUSTOM_CC)
|
||||
export CUSTOM_CXX := $(CCACHED_CUSTOM_CXX)
|
||||
|
Loading…
x
Reference in New Issue
Block a user