Changeset 32902


Ignore:
Timestamp:
2012-07-28T23:06:59+02:00 (6 years ago)
Author:
blogic
Message:

[include] fix up scons vs ccache

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/scons.mk

    r31620 r32902  
    22 
    33SCONS_VARS = \ 
    4         CC="$(TARGET_CC)" \ 
    5         CXX="$(TARGET_CXX)" \ 
     4        CC="$(TARGET_CC_NOCACHE)" \ 
     5        CXX="$(TARGET_CXX_NOCACHE)" \ 
    66        CFLAGS="$(TARGET_CFLAGS) $(EXTRA_CFLAGS)" \ 
    77        CXXFLAGS="$(TARGET_CFLAGS) $(EXTRA_CFLAGS)" \ 
  • trunk/rules.mk

    r32466 r32902  
    186186INSTALL_CONF:=install -m0600 
    187187 
     188TARGET_CC_NOCACHE:=$(TARGET_CC) 
     189TARGET_CXX_NOCACHE:=$(TARGET_CXX) 
     190HOSTCC_NOCACHE:=$(HOSTCC) 
     191export TARGET_CC_NOCACHE 
     192export TARGET_CXX_NOCACHE 
     193export HOSTCC_NOCACHE 
     194 
    188195ifneq ($(CONFIG_CCACHE),) 
    189   TARGET_CC_NOCACHE:=$(TARGET_CC) 
    190   TARGET_CXX_NOCACHE:=$(TARGET_CXX) 
    191   HOSTCC_NOCACHE:=$(HOSTCC) 
    192   export TARGET_CC_NOCACHE 
    193   export TARGET_CXX_NOCACHE 
    194   export HOSTCC_NOCACHE 
    195196  TARGET_CC:= ccache_cc 
    196197  TARGET_CXX:= ccache_cxx 
Note: See TracChangeset for help on using the changeset viewer.