From: Tom Hughes Date: Tue, 12 Dec 2017 16:52:04 +0000 (-0800) Subject: -fdebug-prefix-map is supported in clang 3.8 and newer X-Git-Tag: v3.3.5~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6ef0357e066bbe05e76a10164ae268fffbabeb94;p=thirdparty%2Fccache.git -fdebug-prefix-map is supported in clang 3.8 and newer It's not documented until newer versions of clang, but support was added in 3.8: https://reviews.llvm.org/rL250094 --- diff --git a/test.sh b/test.sh index 28dbc57e7..b2d6bf9f0 100755 --- 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 }