diff options
author | spiff <spiff@xbmc.org> | 2011-09-02 16:07:06 +0200 |
---|---|---|
committer | spiff <spiff@xbmc.org> | 2011-10-03 23:35:54 +0200 |
commit | 291493a4b57205b1cba6ef78f8699059bf5fb52c (patch) | |
tree | c17bcf1af293d5a4e140a077a7bdadb863876443 /configure.in | |
parent | 9a6a54fa9072a242b3c399a98962b60db626578d (diff) |
changed: newer cmake's are too stupid to handle compiler names with a space
when using ccache this is the case, and things go haywire. i'm open to
better ideas, but we need to retain the original cc/cxx somehow.
Diffstat (limited to 'configure.in')
-rwxr-xr-x | configure.in | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.in b/configure.in index 05bee5008b..155dfac5ae 100755 --- a/configure.in +++ b/configure.in @@ -1622,6 +1622,8 @@ if test "x$use_ccache" != "xno"; then final_message="$final_message\n ccache:\tNo" fi else + ORIGCC=$CC + ORIGCXX=$CXX CC="$ac_cv_path_CCACHE $CC" CXX="$ac_cv_path_CCACHE $CXX" AC_MSG_NOTICE(enabling ccache) @@ -2071,7 +2073,7 @@ XB_CONFIG_MODULE([lib/libid3tag/libid3tag],[ XB_CONFIG_MODULE([xbmc/visualizations/XBMCProjectM/libprojectM],[ set -x - rm -f CMakeCache.txt && CC="$CC" CXX="$CXX" cmake \ + rm -f CMakeCache.txt && CC="$ORIGCC" CXX="$ORIGCXX" cmake \ -DCMAKE_BUILD_TYPE=None -DUSE_FTGL:BOOL=OFF \ -DCMAKE_C_FLAGS:STRING="${CPPFLAGS} ${CFLAGS}" \ -DCMAKE_CXX_FLAGS:STRING="${CPPFLAGS} ${CXXFLAGS}" \ |