Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.2:Ports
llvm
assume-opensuse.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File assume-opensuse.patch of Package llvm
Index: cfe-3.8.0.src/lib/Driver/ToolChains.cpp =================================================================== --- cfe-3.8.0.src/lib/Driver/ToolChains.cpp +++ cfe-3.8.0.src/lib/Driver/ToolChains.cpp @@ -3080,6 +3080,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) { @@ -3155,6 +3156,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.
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor