[PATCH] D53125: Detect Clear Linux and apply Clear's default linker options
Thiago Macieira via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Oct 11 10:11:50 PDT 2018
thiagomacieira added inline comments.
================
Comment at: lib/Driver/Distro.cpp:139
+ File = VFS.getBufferForFile("/usr/lib/os-release");
+ if (File) {
----------------
mgorny wrote:
> Technically speaking, the spec says you are supposed to read `/etc/os-release` first and fall back to `/usr/lib/os-release` only if the former does not exist.
You're right, I'll adapt.
https://reviews.llvm.org/D53125
More information about the cfe-commits
mailing list