summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2015-05-31 10:03:37 +0000
committerFabian Groffen <grobian@gentoo.org>2015-05-31 10:03:37 +0000
commit4e9ceb9fea52232b79222df4b1628e977372176a (patch)
tree6f96d71aca5be4c31a950e902a9b696220c0e46d /profiles/prefix
parentMask llvm/clang >=3.6 on Darwin due to compile issues (diff)
downloadgentoo-2-4e9ceb9fea52232b79222df4b1628e977372176a.tar.gz
gentoo-2-4e9ceb9fea52232b79222df4b1628e977372176a.tar.bz2
gentoo-2-4e9ceb9fea52232b79222df4b1628e977372176a.zip
From now on, Mac OS X/Darwin is built with Clang
Diffstat (limited to 'profiles/prefix')
-rw-r--r--profiles/prefix/ChangeLog7
-rw-r--r--profiles/prefix/darwin/macos/10.10/profile.bashrc21
-rw-r--r--profiles/prefix/darwin/macos/package.use.force8
-rw-r--r--profiles/prefix/darwin/macos/packages11
4 files changed, 20 insertions, 27 deletions
diff --git a/profiles/prefix/ChangeLog b/profiles/prefix/ChangeLog
index a388ce453abe..58a4f034cd4a 100644
--- a/profiles/prefix/ChangeLog
+++ b/profiles/prefix/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for profiles/prefix
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/profiles/prefix/ChangeLog,v 1.456 2015/05/31 09:58:49 grobian Exp $
+# $Header: /var/cvsroot/gentoo-x86/profiles/prefix/ChangeLog,v 1.457 2015/05/31 10:03:37 grobian Exp $
+
+ 31 May 2015; Fabian Groffen <grobian@gentoo.org>
+ darwin/macos/10.10/profile.bashrc, darwin/macos/package.use.force,
+ darwin/macos/packages:
+ From now on, Mac OS X/Darwin is built with Clang
31 May 2015; Fabian Groffen <grobian@gentoo.org> darwin/package.mask:
Mask llvm/clang >=3.6 on Darwin due to compile issues
diff --git a/profiles/prefix/darwin/macos/10.10/profile.bashrc b/profiles/prefix/darwin/macos/10.10/profile.bashrc
index 99cfad457f3b..6e4712eaf820 100644
--- a/profiles/prefix/darwin/macos/10.10/profile.bashrc
+++ b/profiles/prefix/darwin/macos/10.10/profile.bashrc
@@ -1,20 +1,5 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/profiles/prefix/darwin/macos/10.10/profile.bashrc,v 1.3 2014/11/24 21:38:16 redlizard Exp $
+# $Header: /var/cvsroot/gentoo-x86/profiles/prefix/darwin/macos/10.10/profile.bashrc,v 1.4 2015/05/31 10:03:37 grobian Exp $
-# this is no typo, gcc-apple doesn't allow for 10.10 and mixes things up
-export MACOSX_DEPLOYMENT_TARGET=10.9
-
-# some packages need to be compiled with clang on 10.10
-local pkgs_clang pkg
-pkgs_clang=(
- dev-libs/glib
- dev-lang/python
- sys-devel/binutils-apple
-)
-for pkg in ${pkgs_clang[@]} ; do
- if [[ ${CATEGORY}/${PN} == ${pkg} ]]; then
- CC="clang -I${EPREFIX}/usr/include"
- CXX="clang++ -I${EPREFIX}/usr/include"
- fi
-done
+export MACOSX_DEPLOYMENT_TARGET=10.10
diff --git a/profiles/prefix/darwin/macos/package.use.force b/profiles/prefix/darwin/macos/package.use.force
index 2d35c20fdfde..115888b307dd 100644
--- a/profiles/prefix/darwin/macos/package.use.force
+++ b/profiles/prefix/darwin/macos/package.use.force
@@ -1,6 +1,10 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/profiles/prefix/darwin/macos/package.use.force,v 1.1 2009/06/06 03:54:46 solar Exp $
+# $Header: /var/cvsroot/gentoo-x86/profiles/prefix/darwin/macos/package.use.force,v 1.2 2015/05/31 10:03:37 grobian Exp $
+
+# Fabian Groffen <grobian@gentoo.org> (31 May 2015)
+# for clang ebuild to work, llvm must build the clang frontend
+sys-devel/llvm clang
# Elias Pipping <pipping@gentoo.org> (01 Jan 2008)
# only GUI that works under macosx
diff --git a/profiles/prefix/darwin/macos/packages b/profiles/prefix/darwin/macos/packages
index 5e334651e423..727eca54800f 100644
--- a/profiles/prefix/darwin/macos/packages
+++ b/profiles/prefix/darwin/macos/packages
@@ -1,9 +1,8 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/profiles/prefix/darwin/macos/packages,v 1.1 2009/06/06 03:54:46 solar Exp $
+# $Header: /var/cvsroot/gentoo-x86/profiles/prefix/darwin/macos/packages,v 1.2 2015/05/31 10:03:37 grobian Exp $
-# Mac OS X is built with the Apple branch of the GCC compiler, using FSF
-# GCC results in broken packages in some cases (subversion) due to
-# alignment problems with the kernel. Hence, we default to gcc-apple.
+# Mac OS X is built with LLVM/Clang
-*sys-devel/gcc
-*sys-devel/gcc-apple
+-*sys-devel/gcc-config
+*sys-devel/clang