diff options
author | Bernard Cafarelli <voyageur@gentoo.org> | 2011-11-14 15:02:31 +0000 |
---|---|---|
committer | Bernard Cafarelli <voyageur@gentoo.org> | 2011-11-14 15:02:31 +0000 |
commit | a13cb9ed780233412cccfd4d87102085878ae57d (patch) | |
tree | 2aaf7b3d5d9ed5bc9eb412fd3db2e6989dce9714 /sys-devel/clang/clang-2.9-r1.ebuild | |
parent | Updated dep to require spice-protocol >=0.10.0 (unfortunately spice and spice... (diff) | |
download | gentoo-2-a13cb9ed780233412cccfd4d87102085878ae57d.tar.gz gentoo-2-a13cb9ed780233412cccfd4d87102085878ae57d.tar.bz2 gentoo-2-a13cb9ed780233412cccfd4d87102085878ae57d.zip |
gcc-config 1.5 dropped the -X option, thanks Leonid Volnitsky <leonid@volnitsky.com> in bug #388621
(Portage version: 2.2.0_alpha74/cvs/Linux x86_64)
Diffstat (limited to 'sys-devel/clang/clang-2.9-r1.ebuild')
-rw-r--r-- | sys-devel/clang/clang-2.9-r1.ebuild | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys-devel/clang/clang-2.9-r1.ebuild b/sys-devel/clang/clang-2.9-r1.ebuild index 20f097524d11..268435edbc72 100644 --- a/sys-devel/clang/clang-2.9-r1.ebuild +++ b/sys-devel/clang/clang-2.9-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/sys-devel/clang/clang-2.9-r1.ebuild,v 1.3 2011/10/04 11:52:07 voyageur Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/clang/clang-2.9-r1.ebuild,v 1.4 2011/11/14 15:02:31 voyageur Exp $ EAPI=3 @@ -98,7 +98,7 @@ src_configure() { if use system-cxx-headers; then # Try to get current gcc headers path - local CXX_PATH=$(gcc-config -X| cut -d: -f1 | sed 's,/include/g++-v4$,,') + local CXX_PATH=$(gcc-config -L| cut -d: -f1) CONF_FLAGS="${CONF_FLAGS} --with-c-include-dirs=/usr/include:${CXX_PATH}/include" CONF_FLAGS="${CONF_FLAGS} --with-cxx-include-root=${CXX_PATH}/include/g++-v4" CONF_FLAGS="${CONF_FLAGS} --with-cxx-include-arch=$CHOST" |