diff options
-rw-r--r-- | build2/cc/guess.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/build2/cc/guess.cxx b/build2/cc/guess.cxx index cb4b584..f23a175 100644 --- a/build2/cc/guess.cxx +++ b/build2/cc/guess.cxx @@ -328,11 +328,14 @@ namespace build2 // respectively. Note that a path that is equal to stem is not considered // a pattern. // + // Note that the default right separator includes digits to handle cases + // like clang++37 (FreeBSD). + // static string pattern (const path& xc, const char* s, const char* ls = "-_.", - const char* rs = "-_.") + const char* rs = "-_.0123456789") { string r; size_t sn (strlen (s)); |