Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 186413 Details for
Bug 259062
www-client/mozilla-firefox:add Profile-Guided Optimization support
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
add pgo USE flag
xulrunner.diff (text/plain), 1.47 KB, created by
Hanno Zysik (geki)
on 2009-03-27 12:06:27 UTC
(
hide
)
Description:
add pgo USE flag
Filename:
MIME Type:
Creator:
Hanno Zysik (geki)
Created:
2009-03-27 12:06:27 UTC
Size:
1.47 KB
patch
obsolete
>--- net-libs/xulrunner/xulrunner-1.9.0.7.ebuild 2009-03-12 17:36:35.000000000 +0100 >+++ net-libs/xulrunner/xulrunner-1.9.0.7-r1.ebuild 2009-03-27 12:56:46.000000000 +0100 >@@ -17,7 +17,7 @@ > KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 -sparc x86" > SLOT="1.9" > LICENSE="|| ( MPL-1.1 GPL-2 LGPL-2.1 )" >-IUSE="" >+IUSE="pgo" > > RDEPEND="java? ( >=virtual/jre-1.4 ) > >=sys-devel/binutils-2.16.1 >@@ -132,18 +132,19 @@ > # > #################################### > >- CPPFLAGS="${CPPFLAGS} -DARON_WAS_HERE" \ >- CC="$(tc-getCC)" CXX="$(tc-getCXX)" LD="$(tc-getLD)" \ >- econf || die >- >- # It would be great if we could pass these in via CPPFLAGS or CFLAGS prior >- # to econf, but the quotes cause configure to fail. >- sed -i -e \ >- 's|-DARON_WAS_HERE|-DGENTOO_NSPLUGINS_DIR=\\\"/usr/'"$(get_libdir)"'/nsplugins\\\" -DGENTOO_NSBROWSER_PLUGINS_DIR=\\\"/usr/'"$(get_libdir)"'/nsbrowser/plugins\\\"|' \ >- "${S}"/config/autoconf.mk \ >- "${S}"/toolkit/content/buildconfig.html >+ # profile guided optimization >+ local pgo="" >+ use pgo && pgo="-j1 profiledbuild" >+ >+ append-cxxflags -DGENTOO_NSPLUGINS_DIR=\\\"/usr/$(get_libdir)/nsplugins\\\" >+ append-cxxflags -DGENTOO_NSBROWSER_PLUGINS_DIR=\\\"/usr/$(get_libdir)/nsbrowser/plugins\\\" >+ >+ # without econf we need these >+ mozconfig_annotate '' --prefix=/usr >+ mozconfig_annotate '' --libdir=/usr/$(get_libdir) > >- emake || die "emake failed" >+ CC="$(tc-getCC)" CXX="$(tc-getCXX)" LD="$(tc-getLD)" \ >+ emake -f client.mk ${pgo} || die "emake failed" > } > > src_install() {
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 259062
:
186413
|
201784
|
276493