e97a7d3051
* This release contains bug-fixes for the LLVM 19.1.0 release. This release is API and ABI compatible with 19.1.0. - Rebase llvm-do-not-install-static-libraries.patch. OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm19?expand=0&rev=11
14 lines
528 B
Diff
14 lines
528 B
Diff
Index: clang-18.1.0rc1.src/lib/Driver/ToolChains/Gnu.cpp
|
|
===================================================================
|
|
--- clang-18.1.0rc1.src.orig/lib/Driver/ToolChains/Gnu.cpp
|
|
+++ clang-18.1.0rc1.src/lib/Driver/ToolChains/Gnu.cpp
|
|
@@ -2179,7 +2179,7 @@ Generic_GCC::GCCVersion Generic_GCC::GCC
|
|
return GoodVersion;
|
|
}
|
|
|
|
- if (!TryParseNumber(MinorStr, GoodVersion.Minor))
|
|
+ if (!MinorStr.str().empty() && !TryParseNumber(MinorStr, GoodVersion.Minor))
|
|
return BadVersion;
|
|
GoodVersion.MinorStr = MinorStr;
|
|
|