summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-04-01 19:03:05 +0000
committerMike Frysinger <vapier@gentoo.org>2015-04-01 19:03:05 +0000
commita3ff81451237d8c7d19a094f1656f0103069bd12 (patch)
treea42603682cc715d3dcfada5eb7e8c7a068d64a76 /x11-drivers
parentRespect the user's CC/CXX/CFLAGS/CPPFLAGS settings. (diff)
downloadgentoo-2-a3ff81451237d8c7d19a094f1656f0103069bd12.tar.gz
gentoo-2-a3ff81451237d8c7d19a094f1656f0103069bd12.tar.bz2
gentoo-2-a3ff81451237d8c7d19a094f1656f0103069bd12.zip
Respect the user's CC/CXX/CFLAGS/CPPFLAGS settings.
(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key D2E96200)
Diffstat (limited to 'x11-drivers')
-rw-r--r--x11-drivers/xf86-video-virtualbox/ChangeLog6
-rw-r--r--x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-4.3.26.ebuild5
2 files changed, 9 insertions, 2 deletions
diff --git a/x11-drivers/xf86-video-virtualbox/ChangeLog b/x11-drivers/xf86-video-virtualbox/ChangeLog
index 88f46a29935e..fa58114d8d9d 100644
--- a/x11-drivers/xf86-video-virtualbox/ChangeLog
+++ b/x11-drivers/xf86-video-virtualbox/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for x11-drivers/xf86-video-virtualbox
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-drivers/xf86-video-virtualbox/ChangeLog,v 1.150 2015/04/01 18:37:09 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-drivers/xf86-video-virtualbox/ChangeLog,v 1.151 2015/04/01 19:03:05 vapier Exp $
+
+ 01 Apr 2015; Mike Frysinger <vapier@gentoo.org>
+ xf86-video-virtualbox-4.3.26.ebuild:
+ Respect the user's CC/CXX/CFLAGS/CPPFLAGS settings.
01 Apr 2015; Mike Frysinger <vapier@gentoo.org>
xf86-video-virtualbox-4.3.26.ebuild:
diff --git a/x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-4.3.26.ebuild b/x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-4.3.26.ebuild
index 34d00fe065d6..a28cce939847 100644
--- a/x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-4.3.26.ebuild
+++ b/x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-4.3.26.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-4.3.26.ebuild,v 1.4 2015/04/01 18:37:09 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-4.3.26.ebuild,v 1.5 2015/04/01 19:03:05 vapier Exp $
EAPI=5
@@ -102,6 +102,8 @@ src_configure() {
--disable-sdl-ttf
--disable-pulse
--disable-alsa
+ --with-gcc="$(tc-getCC)"
+ --with-g++="$(tc-getCXX)"
--target-arch=${ARCH}
--with-linux="${KV_OUT_DIR}"
--build-headless
@@ -109,6 +111,7 @@ src_configure() {
echo "${cmd[@]}"
"${cmd[@]}" || die "configure failed"
source ./env.sh
+ export VBOX_GCC_OPT="${CFLAGS} ${CPPFLAGS}"
}
src_compile() {