From a21a136cce57095b18d6d827615d3761e0b57fb2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Anders=20F=20Bj=C3=B6rklund?= Date: Sun, 1 Apr 2018 13:13:33 +0200 Subject: [PATCH] Look for -fdebug-prefix-map feature explicitly Seems like old clang-3.4 didn't have this feature, while the newer MinGW might. So remove the hardcoding, and do the check. --- test/suites/debug_prefix_map.bash | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/suites/debug_prefix_map.bash b/test/suites/debug_prefix_map.bash index 256d4cbc2..25cc36ff2 100644 --- a/test/suites/debug_prefix_map.bash +++ b/test/suites/debug_prefix_map.bash @@ -1,5 +1,6 @@ SUITE_debug_prefix_map_PROBE() { - if $COMPILER_USES_MINGW; then + touch test.c + if ! $REAL_COMPILER -c -fdebug-prefix-map=old=new test.c 2>/dev/null; then echo "-fdebug-prefix-map not supported by compiler" fi } -- 2.47.2