]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
-fdebug-prefix-map is supported in clang 3.8 and newer
authorTom Hughes <tomtheengineer@gmail.com>
Tue, 12 Dec 2017 16:52:04 +0000 (08:52 -0800)
committerJoel Rosdahl <joel@rosdahl.net>
Thu, 11 Jan 2018 20:02:33 +0000 (21:02 +0100)
It's not documented until newer versions of clang, but support was
added in 3.8: https://reviews.llvm.org/rL250094

test.sh

diff --git a/test.sh b/test.sh
index 28dbc57e782fd4ed28120a09e2bf02c91b08a46a..b2d6bf9f007ae29c3ea5121904a861b100894e86 100755 (executable)
--- a/test.sh
+++ b/test.sh
@@ -1257,7 +1257,7 @@ EOF
 # =============================================================================
 
 SUITE_debug_prefix_map_PROBE() {
-    if ! $COMPILER_TYPE_GCC || $COMPILER_USES_MINGW; then
+    if $COMPILER_USES_MINGW; then
         echo "-fdebug-prefix-map not supported by compiler"
     fi
 }