Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 408646 Details for
Bug 557100
sys-devel/llvm-9999 failed patch: clang-0001-Install-clang-runtime-into-usr-lib-without-suffix.patch
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Changed patch
clang-0001-Install-clang-runtime-into-usr-lib-without-suffix.patch (text/plain), 2.21 KB, created by
Bigos
on 2015-08-09 16:58:29 UTC
(
hide
)
Description:
Changed patch
Filename:
MIME Type:
Creator:
Bigos
Created:
2015-08-09 16:58:29 UTC
Size:
2.21 KB
patch
obsolete
>From b28503def986bcbc388a04be0d51cbe80bc59506 Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org> >Date: Tue, 9 Jun 2015 12:11:50 +0200 >Subject: [PATCH] Install clang runtime into /usr/lib (without suffix) > >--- > lib/Driver/Driver.cpp | 3 +-- > lib/Frontend/CompilerInvocation.cpp | 3 +-- > lib/Headers/CMakeLists.txt | 2 +- > 3 files changed, 3 insertions(+), 5 deletions(-) > >diff --git a/lib/Driver/Driver.cpp b/lib/Driver/Driver.cpp >index a04a1f8..418d46a 100644 >--- a/tools/clang/lib/Driver/Driver.cpp >+++ b/tools/clang//lib/Driver/Driver.cpp >@@ -66,8 +66,7 @@ Driver::Driver(StringRef ClangExecutable, StringRef DefaultTargetTriple, > if (ClangResourceDir != "") { > llvm::sys::path::append(P, ClangResourceDir); > } else { >- StringRef ClangLibdirSuffix(CLANG_LIBDIR_SUFFIX); >- llvm::sys::path::append(P, "..", Twine("lib") + ClangLibdirSuffix, "clang", >+ llvm::sys::path::append(P, "..", "lib", "clang", > CLANG_VERSION_STRING); > } > ResourceDir = P.str(); >diff --git a/lib/Frontend/CompilerInvocation.cpp b/lib/Frontend/CompilerInvocation.cpp >index 9485767..0b9ecbd 100644 >--- a/tools/clang/lib/Frontend/CompilerInvocation.cpp >+++ b/tools/clang/lib/Frontend/CompilerInvocation.cpp >@@ -1089,8 +1089,8 @@ std::string CompilerInvocation::GetResourcesPath(const char *Argv0, > if (ClangResourceDir != "") > llvm::sys::path::append(P, ClangResourceDir); > else >- llvm::sys::path::append(P, "..", Twine("lib") + CLANG_LIBDIR_SUFFIX, >- "clang", CLANG_VERSION_STRING); >+ llvm::sys::path::append(P, "..", "lib", "clang", >+ CLANG_VERSION_STRING); > > return P.str(); > } >diff --git a/lib/Headers/CMakeLists.txt b/lib/Headers/CMakeLists.txt >index 29a738e..3769d23 100644 >--- a/tools/clang/lib/Headers/CMakeLists.txt >+++ b/tools/clang/lib/Headers/CMakeLists.txt >@@ -93,4 +93,4 @@ set_target_properties(clang-headers PROPERTIES FOLDER "Misc") > install( > FILES ${files} ${CMAKE_CURRENT_BINARY_DIR}/arm_neon.h > PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ >- DESTINATION lib${LLVM_LIBDIR_SUFFIX}/clang/${CLANG_VERSION}/include) >+ DESTINATION lib/clang/${CLANG_VERSION}/include) >-- >2.4.3 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 557100
: 408646 |
408772