[all-commits] [llvm/llvm-project] c26750: [libc] Use proper flags for compiler version detec...
Guillaume Chatelet via All-commits
all-commits at lists.llvm.org
Thu May 4 00:10:08 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c267501c155f933a1c0cff8630826f49c5c22864
https://github.com/llvm/llvm-project/commit/c267501c155f933a1c0cff8630826f49c5c22864
Author: Guillaume Chatelet <gchatelet at google.com>
Date: 2023-05-04 (Thu, 04 May 2023)
Changed paths:
M libc/cmake/modules/LLVMLibCArchitectures.cmake
Log Message:
-----------
[libc] Use proper flags for compiler version detection
The `-v` flag means verbose and not version.
With `clang` this flag prints the version and exits successfully.
Under `GCC` this is not a valid command line so the binary exits with
an error.
More information about the All-commits
mailing list