Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 423458 Details for
Bug 442958
sys-devel/llvm fails to cross compile
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
CMake flags for cross compilation
cross-dev.patch (text/plain), 632 bytes, created by
popham
on 2016-01-20 21:28:11 UTC
(
hide
)
Description:
CMake flags for cross compilation
Filename:
MIME Type:
Creator:
popham
Created:
2016-01-20 21:28:11 UTC
Size:
632 bytes
patch
obsolete
>--- /usr/portage/sys-devel/llvm/llvm-3.7.1.ebuild 2016-01-09 19:01:02.000000000 +0000 >+++ llvm-3.7.1.ebuild 2016-01-20 21:11:18.701967929 +0000 >@@ -370,6 +370,21 @@ > #filter-flags -msahf -frecord-gcc-switches > fi > >+ if tc-is-cross-compiler; then >+ mycmakeargs+=( >+ -DCMAKE_CROSSCOMPILING=True \ >+ -DLLVM_TABLEGEN=/usr/bin/llvm-tblgen \ >+ -DCMAKE_CXX_FLAGS="-I${EROOT}usr/include/" >+ ) >+ >+ if use clang; then >+ mycmakeargs+=( >+ -DCLANG_TABLEGEN=/usr/bin/clang-tblgen >+ -DLLVM_ENABLE_PIC=False # Work around. See http://llvm.org/docs/HowToCrossCompileLLVM.html >+ ) >+ fi >+ fi >+ > cmake-utils_src_configure > } >
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 442958
: 423458 |
433256
|
437338
|
437408
|
437438
|
437458