Skip to content

Commit

Permalink
Apparently MinGW does not support debug-prefix-map
Browse files Browse the repository at this point in the history
  • Loading branch information
afbjorklund committed Mar 4, 2016
1 parent bc10a51 commit d2c6751
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion test.sh
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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*)
Expand Down

0 comments on commit d2c6751

Please sign in to comment.