[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
Mon Oct 15 20:38:58 PDT 2018


thiagomacieira updated this revision to Diff 169779.
thiagomacieira added a comment.

Update detection: as of Clear Linux 25620, /usr/lib/os-relaese contains ID_LIKE=clear-linux-os, which allows detecting not only Clear itself, but also Linux distributions derived from it (Clear Linux mixes).


https://reviews.llvm.org/D53125

Files:
  include/clang/Driver/Distro.h
  lib/Driver/Distro.cpp
  lib/Driver/ToolChains/Linux.cpp
  unittests/Driver/DistroTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D53125.169779.patch
Type: text/x-patch
Size: 4180 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20181016/2bb4285f/attachment-0001.bin>


More information about the cfe-commits mailing list