summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2010-03-24 06:57:57 +0000
committerFabian Groffen <grobian@gentoo.org>2010-03-24 06:57:57 +0000
commit009a5bd4455992ccfaaebe9efb6f85eacc5d97ff (patch)
tree58e83b0e9f2fed78330987a5fc13fba021ae3065 /sys-devel/gcc-apple
parentStable for HPPA (bug #308075). (diff)
downloadgentoo-2-009a5bd4455992ccfaaebe9efb6f85eacc5d97ff.tar.gz
gentoo-2-009a5bd4455992ccfaaebe9efb6f85eacc5d97ff.tar.bz2
gentoo-2-009a5bd4455992ccfaaebe9efb6f85eacc5d97ff.zip
Add openmp USE-flag, since some packages check for such flag, gcc-apple has always enabled had it enabled in the past
(Portage version: 2.2.00.15842-prefix/cvs/Darwin powerpc)
Diffstat (limited to 'sys-devel/gcc-apple')
-rw-r--r--sys-devel/gcc-apple/ChangeLog7
-rw-r--r--sys-devel/gcc-apple/gcc-apple-4.2.1_p5647.ebuild8
2 files changed, 9 insertions, 6 deletions
diff --git a/sys-devel/gcc-apple/ChangeLog b/sys-devel/gcc-apple/ChangeLog
index da67cd616650..789df3ce0204 100644
--- a/sys-devel/gcc-apple/ChangeLog
+++ b/sys-devel/gcc-apple/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-devel/gcc-apple
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc-apple/ChangeLog,v 1.13 2010/03/12 12:06:25 grobian Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc-apple/ChangeLog,v 1.14 2010/03/24 06:57:57 grobian Exp $
+
+ 24 Mar 2010; Fabian Groffen <grobian@gentoo.org>
+ gcc-apple-4.2.1_p5647.ebuild:
+ Add openmp USE-flag, since some packages check for such flag, gcc-apple
+ has always enabled had it enabled in the past
12 Mar 2010; Fabian Groffen <grobian@gentoo.org>
gcc-apple-4.2.1_p5646.ebuild, gcc-apple-4.2.1_p5647.ebuild:
diff --git a/sys-devel/gcc-apple/gcc-apple-4.2.1_p5647.ebuild b/sys-devel/gcc-apple/gcc-apple-4.2.1_p5647.ebuild
index 62d588c8c9c2..b1aabc72abbf 100644
--- a/sys-devel/gcc-apple/gcc-apple-4.2.1_p5647.ebuild
+++ b/sys-devel/gcc-apple/gcc-apple-4.2.1_p5647.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc-apple/gcc-apple-4.2.1_p5647.ebuild,v 1.6 2010/03/13 14:57:39 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc-apple/gcc-apple-4.2.1_p5647.ebuild,v 1.7 2010/03/24 06:57:57 grobian Exp $
EAPI="3"
@@ -37,7 +37,7 @@ fi
KEYWORDS="~ppc-macos ~x64-macos ~x86-macos"
-IUSE="fortran nls objc objc++ nocxx"
+IUSE="fortran nls +openmp objc objc++ nocxx"
RDEPEND=">=sys-libs/zlib-1.1.4
>=sys-libs/ncurses-5.2-r2
@@ -102,7 +102,6 @@ src_prepare() {
gcc/Makefile.in || die "sed gcc/Makefile.in failed."
epatch "${FILESDIR}"/${PN}-4.0.1_p5465-default-altivec.patch
- #epatch "${FILESDIR}"/${PN}-4.2.1_p5566-x86_64-defines.patch
# dsymutil stuff breaks on 10.4/x86, revert it
[[ ${CHOST} == *86*-apple-darwin8 ]] && \
@@ -202,8 +201,7 @@ src_configure() {
[[ -z ${I_KNOW_WHAT_IM_DOING_I_WANT_APPLE_MULTILIB} ]] \
&& myconf="${myconf} --disable-multilib"
- #libstdcxx does not support this one
- myconf="${myconf} --enable-languages=${langs}"
+ myconf="${myconf} --enable-languages=${langs} $(use_enable openmp libgomp)"
# The produced libgcc_s.dylib is faulty if using a bit too much
# optimisation. Nail it down to something sane