Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 238343 Details for
Bug 327827
Qt cross compilation support
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to qt4-build eclass
qt4-build.diff (text/plain), 1.27 KB, created by
Matthias Fauconneau
on 2010-07-11 19:30:32 UTC
(
hide
)
Description:
patch to qt4-build eclass
Filename:
MIME Type:
Creator:
Matthias Fauconneau
Created:
2010-07-11 19:30:32 UTC
Size:
1.27 KB
patch
obsolete
>--- portage/eclass/qt4-build.eclass 2010-07-08 18:05:52.000000000 +0200 >+++ local/portage/eclass/qt4-build.eclass 2010-07-10 18:59:20.000000000 +0200 >@@ -285,6 +285,10 @@ > # strip predefined CFLAGS from qmake ( bug #312689 ) > sed -i '/^QMAKE_CFLAGS_\(RELEASE\|DEBUG\)/s:+=.*:+=:' mkspecs/common/g++.conf > >+ if tc-is-cross-compiler ; then #add a new target for cross-compilation >+ cp -R ${FILESDIR}/linux-cross-g++ ${S}/mkspecs >+ fi >+ > base_src_prepare > } > >@@ -300,6 +304,8 @@ > use !elibc_glibc && [[ ${CHOST} != *-darwin* ]] && \ > myconf+=" -liconv" > >+ tc-is-cross-compiler && myconf="${myconf} -xplatform linux-cross-g++" >+ > if has glib ${IUSE//+} && use glib; then > # use -I, -L and -l from configure > local glibflags="$(pkg-config --cflags --libs glib-2.0 gthread-2.0)" >@@ -497,7 +503,11 @@ > echo "${S}"/mkspecs/common/*.conf > find "${S}" -name '*.pr[io]' > } | xargs sed -i -e "s:\$\$\[QT_INSTALL_LIBS\]:${EPREFIX}/usr/$(get_libdir)/qt4:g" || die >+ if tc-is-cross-compiler ; then >+ "${S}"/bin/qmake "LIBS+=-L${ROOT}/usr/$(get_libdir)/qt4" "CONFIG+=nostrip" || die "qmake failed" >+ else > "${S}"/bin/qmake "LIBS+=-L${QTLIBDIR}" "CONFIG+=nostrip" || die "qmake failed" >+ fi > emake CC="$(tc-getCC)" \ > CXX="$(tc-getCXX)" \ > LINK="$(tc-getCXX)" || die "emake failed"
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 327827
: 238343 |
238345
|
238347
|
238349
|
238351