diff options
author | Amadeusz Piotr Żołnowski <aidecoe@gentoo.org> | 2012-07-27 16:49:14 +0000 |
---|---|---|
committer | Amadeusz Piotr Żołnowski <aidecoe@gentoo.org> | 2012-07-27 16:49:14 +0000 |
commit | c20b6548f45032d497713e1a5ca421954e33fb7b (patch) | |
tree | 91d59c3b86b99e7c0cc320ed08192b43b8354361 /sys-kernel | |
parent | Force at least x11-libs/gtk+ >= 3.4 wrt #428272 (diff) | |
download | gentoo-2-c20b6548f45032d497713e1a5ca421954e33fb7b.tar.gz gentoo-2-c20b6548f45032d497713e1a5ca421954e33fb7b.tar.bz2 gentoo-2-c20b6548f45032d497713e1a5ca421954e33fb7b.zip |
Export CC to emake and warn about optimization.
(Portage version: 2.1.11.9/cvs/Linux x86_64)
Diffstat (limited to 'sys-kernel')
-rw-r--r-- | sys-kernel/dracut/ChangeLog | 5 | ||||
-rw-r--r-- | sys-kernel/dracut/dracut-022.ebuild | 6 |
2 files changed, 8 insertions, 3 deletions
diff --git a/sys-kernel/dracut/ChangeLog b/sys-kernel/dracut/ChangeLog index ae7a1f2cb585..1009b21ff6b3 100644 --- a/sys-kernel/dracut/ChangeLog +++ b/sys-kernel/dracut/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for sys-kernel/dracut # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-kernel/dracut/ChangeLog,v 1.71 2012/07/27 14:42:58 aidecoe Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/dracut/ChangeLog,v 1.72 2012/07/27 16:49:14 aidecoe Exp $ + + 27 Jul 2012; Amadeusz Żołnowski <aidecoe@gentoo.org> dracut-022.ebuild: + Export CC to emake and warn about optimization. 27 Jul 2012; Amadeusz Żołnowski <aidecoe@gentoo.org> dracut-022.ebuild: optimization might not work in some cases, don't make it default, yet. diff --git a/sys-kernel/dracut/dracut-022.ebuild b/sys-kernel/dracut/dracut-022.ebuild index 17c86a303097..36725701ef45 100644 --- a/sys-kernel/dracut/dracut-022.ebuild +++ b/sys-kernel/dracut/dracut-022.ebuild @@ -1,10 +1,10 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-kernel/dracut/dracut-022.ebuild,v 1.4 2012/07/27 14:42:58 aidecoe Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/dracut/dracut-022.ebuild,v 1.5 2012/07/27 16:49:14 aidecoe Exp $ EAPI=4 -inherit eutils linux-info +inherit eutils linux-info toolchain-funcs add_req_use_for() { local dep="$1"; shift @@ -161,6 +161,8 @@ src_prepare() { src_compile() { if use optimization; then + ewarn "Enabling experimental optimization!" + tc-export CC emake prefix=/usr sysconfdir=/etc DESTDIR="${D}" doc \ install/dracut-install fi |