diff options
Diffstat (limited to 'scripts/launch-c.in')
-rw-r--r-- | scripts/launch-c.in | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/scripts/launch-c.in b/scripts/launch-c.in index 6c6c9180bc..94555f32aa 100644 --- a/scripts/launch-c.in +++ b/scripts/launch-c.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_C_COMPILER}" ] ; then - shift -fi - export CCACHE_CPP2=true -exec "${C_LAUNCHER}" "${CMAKE_C_COMPILER}" "$@" +exec "@C_LAUNCHER@" "$@" |