diff options
Diffstat (limited to 'include/cmake.mk')
-rw-r--r-- | include/cmake.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/cmake.mk b/include/cmake.mk index 774632111f..a2ac62fcae 100644 --- a/include/cmake.mk +++ b/include/cmake.mk @@ -24,9 +24,9 @@ else CCACHE:=$(STAGING_DIR_HOST)/bin/ccache endif CMAKE_C_COMPILER:=$(CCACHE) - CMAKE_C_COMPILER_ARG1:=$(filter-out ccache,$(TARGET_CC)) + CMAKE_C_COMPILER_ARG1:=$(TARGET_CC_NOCACHE) CMAKE_CXX_COMPILER:=$(CCACHE) - CMAKE_CXX_COMPILER_ARG1:=$(filter-out ccache,$(TARGET_CXX)) + CMAKE_CXX_COMPILER_ARG1:=$(TARGET_CXX_NOCACHE) endif define Build/Configure/Default |