summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2011-01-21 16:52:47 +0000
committerLars Wendler <polynomial-c@gentoo.org>2011-01-21 16:52:47 +0000
commit14d513d9a4f6887305da5b03db106e4554a21c2b (patch)
tree550afd050b5b139a249b14715632ad01144ce573 /app-emulation
parentVersion bump. (diff)
downloadgentoo-2-14d513d9a4f6887305da5b03db106e4554a21c2b.tar.gz
gentoo-2-14d513d9a4f6887305da5b03db106e4554a21c2b.tar.bz2
gentoo-2-14d513d9a4f6887305da5b03db106e4554a21c2b.zip
Respect CXXFLAGS
(Portage version: 2.2.0_alpha18/cvs/Linux x86_64)
Diffstat (limited to 'app-emulation')
-rw-r--r--app-emulation/virtualbox/ChangeLog6
-rw-r--r--app-emulation/virtualbox/virtualbox-4.0.0-r1.ebuild3
-rw-r--r--app-emulation/virtualbox/virtualbox-4.0.2.ebuild3
3 files changed, 9 insertions, 3 deletions
diff --git a/app-emulation/virtualbox/ChangeLog b/app-emulation/virtualbox/ChangeLog
index 3ff05979f054..46270b9955c3 100644
--- a/app-emulation/virtualbox/ChangeLog
+++ b/app-emulation/virtualbox/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-emulation/virtualbox
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox/ChangeLog,v 1.57 2011/01/18 19:31:13 polynomial-c Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox/ChangeLog,v 1.58 2011/01/21 16:52:47 polynomial-c Exp $
+
+ 21 Jan 2011; Lars Wendler <polynomial-c@gentoo.org>
+ virtualbox-4.0.0-r1.ebuild, virtualbox-4.0.2.ebuild:
+ Respect CXXFLAGS. Thanks to jlec for the hint.
*virtualbox-4.0.2 (18 Jan 2011)
diff --git a/app-emulation/virtualbox/virtualbox-4.0.0-r1.ebuild b/app-emulation/virtualbox/virtualbox-4.0.0-r1.ebuild
index 688297c86f97..16071e0fcdb8 100644
--- a/app-emulation/virtualbox/virtualbox-4.0.0-r1.ebuild
+++ b/app-emulation/virtualbox/virtualbox-4.0.0-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox/virtualbox-4.0.0-r1.ebuild,v 1.5 2011/01/18 19:31:13 polynomial-c Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox/virtualbox-4.0.0-r1.ebuild,v 1.6 2011/01/21 16:52:47 polynomial-c Exp $
EAPI=2
@@ -190,6 +190,7 @@ src_compile() {
TOOL_GCC3_LD="$(tc-getCXX)" TOOL_GCC3_LD_SYSMOD="$(tc-getLD)" \
TOOL_GCC3_CFLAGS="${CFLAGS}" TOOL_GCC3_CXXFLAGS="${CXXFLAGS}" \
TOOL_YASM_AS=yasm KBUILD_PATH="${S}/kBuild" \
+ VBOX_GCC_OPT="${CXXFLAGS}" \
all || die "kmk failed"
}
diff --git a/app-emulation/virtualbox/virtualbox-4.0.2.ebuild b/app-emulation/virtualbox/virtualbox-4.0.2.ebuild
index 87fc4aa9303a..3a7963971a30 100644
--- a/app-emulation/virtualbox/virtualbox-4.0.2.ebuild
+++ b/app-emulation/virtualbox/virtualbox-4.0.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox/virtualbox-4.0.2.ebuild,v 1.1 2011/01/18 19:31:13 polynomial-c Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox/virtualbox-4.0.2.ebuild,v 1.2 2011/01/21 16:52:47 polynomial-c Exp $
EAPI=2
@@ -189,6 +189,7 @@ src_compile() {
TOOL_GCC3_AS="$(tc-getCC)" TOOL_GCC3_AR="$(tc-getAR)" \
TOOL_GCC3_LD="$(tc-getCXX)" TOOL_GCC3_LD_SYSMOD="$(tc-getLD)" \
TOOL_GCC3_CFLAGS="${CFLAGS}" TOOL_GCC3_CXXFLAGS="${CXXFLAGS}" \
+ VBOX_GCC_OPT="${CXXFLAGS}" \
TOOL_YASM_AS=yasm KBUILD_PATH="${S}/kBuild" \
all || die "kmk failed"
}