Revert "Add Ubuntu eoan to supported ubuntu distros"

This reverts commit 3108699581.
This commit is contained in:
Gianfranco Costamagna 2019-04-22 08:49:21 +02:00
parent 3108699581
commit ac4d8e4370
3 changed files with 0 additions and 40 deletions

6
debian/changelog vendored
View File

@ -1,9 +1,3 @@
llvm-toolchain-snapshot (1:9~svn358688-1~exp2) UNRELEASED; urgency=medium
* Add Ubuntu eoan to supported ubuntu distros
-- Gianfranco Costamagna <locutusofborg@debian.org> Sun, 21 Apr 2019 22:58:06 +0200
llvm-toolchain-snapshot (1:9~svn358688-1~exp1) experimental; urgency=medium
* New snapshot release

View File

@ -124,4 +124,3 @@ kfreebsd/lib_Target_X86.diff
kfreebsd/lldb_source_Host_freebsd_Host.cpp.diff
kfreebsd/lldb_source_Plugins_Process_FreeBSD.diff
kfreebsd/tools_llvm-shlib_CMakeLists.txt.diff
ubuntu-eoan-distro.patch

View File

@ -1,33 +0,0 @@
Description: Add uoan as supported architecture
Author: Gianfranco Costamagna <locutusofborg@debian.org>
Last-Update: 2019-04-21
--- llvm-toolchain-8-8.orig/clang/include/clang/Driver/Distro.h
+++ llvm-toolchain-8-8/clang/include/clang/Driver/Distro.h
@@ -64,6 +64,7 @@ public:
UbuntuBionic,
UbuntuCosmic,
UbuntuDisco,
+ UbuntuEoan,
UnknownDistro
};
@@ -117,7 +118,7 @@ public:
}
bool IsUbuntu() const {
- return DistroVal >= UbuntuHardy && DistroVal <= UbuntuDisco;
+ return DistroVal >= UbuntuHardy && DistroVal <= UbuntuEoan;
}
bool IsAlpineLinux() const {
--- llvm-toolchain-8-8.orig/clang/lib/Driver/Distro.cpp
+++ llvm-toolchain-8-8/clang/lib/Driver/Distro.cpp
@@ -52,6 +52,7 @@ static Distro::DistroType DetectDistro(l
.Case("bionic", Distro::UbuntuBionic)
.Case("cosmic", Distro::UbuntuCosmic)
.Case("disco", Distro::UbuntuDisco)
+ .Case("eoan", Distro::UbuntuEoan)
.Default(Distro::UnknownDistro);
if (Version != Distro::UnknownDistro)
return Version;