Dash:
[t2.git] / package / develop / clang / skip-distros.patch
blobac58ad5f79721d5b309fb8575e7983c303d32541
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by scripts/Create-CopyPatch.
3 #
4 # T2 SDE: package/.../clang/skip-distros.patch
5 # Copyright (C) 2019 - 2020 The T2 SDE Project
6 #
7 # More information can be found in the files COPYING and README.
8 #
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
14 # version.
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
24 @@ -22,7 +22,7 @@
25 const llvm::Triple &TargetOrHost) {
26 // If we don't target Linux, no need to check the distro. This saves a few
27 // OS calls.
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,