Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 448804 Details for
Bug 595878
amd64-fbsd/clang profile: pure clang support.
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
sample patch for eclass/freebsd.eclass
bug595878_freebsdeclass.patch (text/plain), 755 bytes, created by
Yuta SATOH
on 2016-10-02 09:27:54 UTC
(
hide
)
Description:
sample patch for eclass/freebsd.eclass
Filename:
MIME Type:
Creator:
Yuta SATOH
Created:
2016-10-02 09:27:54 UTC
Size:
755 bytes
patch
obsolete
>diff --git a/eclass/freebsd.eclass b/eclass/freebsd.eclass >index 57f9d45..c5d9464 100644 >--- a/eclass/freebsd.eclass >+++ b/eclass/freebsd.eclass >@@ -195,6 +195,17 @@ freebsd_src_unpack() { > export INSTALL_LINK="ln -f" > export INSTALL_SYMLINK="ln -fs" > fi >+ >+ # When CC=clang, force use clang-cpp #478810, #595878 >+ if [[ $(tc-getCC) == *clang* ]] ; then >+ if type -P clang-cpp > /dev/null ; then >+ export CPP=clang-cpp >+ else >+ mkdir "${WORKDIR}"/workaround_clang-cpp || die "Could not create ${WORKDIR}/workaround_clang-cpp" >+ ln -s "$(type -P clang)" "${WORKDIR}"/workaround_clang-cpp/clang-cpp || die "Could not create clang-cpp symlink." >+ export CPP="${WORKDIR}/workaround_clang-cpp/clang-cpp" >+ fi >+ fi > } > > freebsd_src_compile() {
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 595878
:
448802
| 448804 |
448810
|
448824