1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by scripts/Create-CopyPatch.
4 # T2 SDE: package/.../clang/skip-distros.patch
5 # Copyright (C) 2019 - 2020 The T2 SDE Project
7 # More information can be found in the files COPYING and README.
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
15 # --- T2-COPYRIGHT-NOTE-END ---
17 There is no point wasting CPU cycles checking for other distributions.
18 We know we are "Unknown" aka T2.
20 - Rene Rebe <rene@exactcode.de>
22 --- clang-10.0.0.src/lib/Driver/Distro.cpp.vanilla 2020-03-25 11:54:34.708521322 +0100
23 +++ clang-10.0.0.src/lib/Driver/Distro.cpp 2020-03-25 11:54:53.396521225 +0100
25 const llvm::Triple &TargetOrHost) {
26 // If we don't target Linux, no need to check the distro. This saves a few
28 - if (!TargetOrHost.isOSLinux())
29 + //if (!TargetOrHost.isOSLinux())
30 return Distro::UnknownDistro;
32 // If the host is not running Linux, and we're backed by a real file system,