b077f75c78
- fix arm_suse_support.diff for armv6hl - adjust compile flags for llvm on armv6hl (fixes Mesa build) OBS-URL: https://build.opensuse.org/request/show/390724 OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm?expand=0&rev=451
22 lines
707 B
Diff
22 lines
707 B
Diff
Index: cfe-3.8.0.src/lib/Driver/ToolChains.cpp
|
|
===================================================================
|
|
--- cfe-3.8.0.src/lib/Driver/ToolChains.cpp.orig
|
|
+++ cfe-3.8.0.src/lib/Driver/ToolChains.cpp
|
|
@@ -3422,6 +3422,7 @@ static bool IsUbuntu(enum Distro Distro)
|
|
}
|
|
|
|
static Distro DetectDistro(const Driver &D, llvm::Triple::ArchType Arch) {
|
|
+#if 0
|
|
llvm::ErrorOr<std::unique_ptr<llvm::MemoryBuffer>> File =
|
|
llvm::MemoryBuffer::getFile("/etc/lsb-release");
|
|
if (File) {
|
|
@@ -3498,6 +3499,8 @@ static Distro DetectDistro(const Driver
|
|
return ArchLinux;
|
|
|
|
return UnknownDistro;
|
|
+#endif
|
|
+ return OpenSUSE;
|
|
}
|
|
|
|
/// \brief Get our best guess at the multiarch triple for a target.
|