From: Anders Björklund Date: Fri, 4 Mar 2016 10:04:01 +0000 (+0100) Subject: Apparently MinGW does not support debug-prefix-map X-Git-Tag: v3.3~103 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d2c6751b27c808a878ab7a7ec6c9acb00b437e8c;p=thirdparty%2Fccache.git Apparently MinGW does not support debug-prefix-map --- diff --git a/test.sh b/test.sh index f72774b79..076445f87 100755 --- a/test.sh +++ b/test.sh @@ -1681,7 +1681,7 @@ EOF ################################################################## # Check that gcc's -fdebug-prefix-map argument maps the debuginfo cwd. - if [ $COMPILER_TYPE_GCC -eq 1 ]; then + if [ $COMPILER_TYPE_GCC -eq 1 -a $COMPILER_USES_MINGW -eq 0 ]; then testname="debug-prefix-map" $CCACHE -Cz >/dev/null cd dir1 @@ -2541,6 +2541,7 @@ COMPILER_TYPE_CLANG=0 COMPILER_TYPE_GCC=0 COMPILER_USES_LLVM=0 +COMPILER_USES_MINGW=0 HOST_OS_APPLE=0 HOST_OS_LINUX=0 @@ -2565,6 +2566,12 @@ case $compiler_version in ;; esac +case $compiler_version in + *mingw*) + COMPILER_USES_MINGW=1 + ;; +esac + host_os="`uname -s`" case $host_os in *Darwin*)