diff options
| author | Sylvestre Ledru <sylvestre@debian.org> | 2016-11-12 09:26:30 +0000 |
|---|---|---|
| committer | Sylvestre Ledru <sylvestre@debian.org> | 2016-11-12 09:26:30 +0000 |
| commit | f0174518079d2ba40d930977910f7730ab899844 (patch) | |
| tree | 7c094894a984ac6e7c76c29fcd40a02afc36bc73 /clang/lib/Driver/ToolChains.cpp | |
| parent | fd36f0b5046de20c220e5f53e5e8394fb9bfea2b (diff) | |
| download | bcm5719-llvm-f0174518079d2ba40d930977910f7730ab899844.tar.gz bcm5719-llvm-f0174518079d2ba40d930977910f7730ab899844.zip | |
Add support of the next Ubuntu (17.04 - Zesty Zapus)
llvm-svn: 286716
Diffstat (limited to 'clang/lib/Driver/ToolChains.cpp')
| -rw-r--r-- | clang/lib/Driver/ToolChains.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/clang/lib/Driver/ToolChains.cpp b/clang/lib/Driver/ToolChains.cpp index 2062ee458b2..7ea7d417a93 100644 --- a/clang/lib/Driver/ToolChains.cpp +++ b/clang/lib/Driver/ToolChains.cpp @@ -3865,6 +3865,7 @@ enum Distro { UbuntuWily, UbuntuXenial, UbuntuYakkety, + UbuntuZesty, UnknownDistro }; @@ -3879,7 +3880,7 @@ static bool IsDebian(enum Distro Distro) { } static bool IsUbuntu(enum Distro Distro) { - return Distro >= UbuntuHardy && Distro <= UbuntuYakkety; + return Distro >= UbuntuHardy && Distro <= UbuntuZesty; } static Distro DetectDistro(vfs::FileSystem &VFS) { @@ -3911,6 +3912,7 @@ static Distro DetectDistro(vfs::FileSystem &VFS) { .Case("wily", UbuntuWily) .Case("xenial", UbuntuXenial) .Case("yakkety", UbuntuYakkety) + .Case("zesty", UbuntuZesty) .Default(UnknownDistro); if (Version != UnknownDistro) return Version; |

