diff options
Diffstat (limited to 'scripts/launch-cxx.in')
-rw-r--r-- | scripts/launch-cxx.in | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/scripts/launch-cxx.in b/scripts/launch-cxx.in index 23f107ce48..46671c1c64 100644 --- a/scripts/launch-cxx.in +++ b/scripts/launch-cxx.in @@ -1,10 +1,4 @@ #!/bin/sh -# Xcode generator doesn't include the compiler as the -# first argument, Ninja and Makefiles do. Handle both cases. -if [ "$1" = "${CMAKE_CXX_COMPILER}" ] ; then - shift -fi - export CCACHE_CPP2=true -exec "${CXX_LAUNCHER}" "${CMAKE_CXX_COMPILER}" "$@"
\ No newline at end of file +exec "@CXX_LAUNCHER@" "$@" |