commit:     1ec8186b37649272de2c41d034a0328acca758d9
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 23 09:46:56 2020 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Mon Nov 23 09:47:57 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ec8186b

profiles/prefix/darwin/macos: add FSF GCC feature

to be extended to other profiles once initial explorations have finished

Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>

 profiles/prefix/darwin/macos/10.13/x64/gcc/eapi               |  1 +
 profiles/prefix/darwin/macos/10.13/x64/gcc/parent             |  2 ++
 .../prefix/darwin/macos/features/fsf-gcc-nold/package.mask    |  6 ++++++
 profiles/prefix/darwin/macos/features/fsf-gcc-nold/packages   | 11 +++++++++++
 4 files changed, 20 insertions(+)

diff --git a/profiles/prefix/darwin/macos/10.13/x64/gcc/eapi 
b/profiles/prefix/darwin/macos/10.13/x64/gcc/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.13/x64/gcc/eapi
@@ -0,0 +1 @@
+5

diff --git a/profiles/prefix/darwin/macos/10.13/x64/gcc/parent 
b/profiles/prefix/darwin/macos/10.13/x64/gcc/parent
new file mode 100644
index 00000000000..5ebbfd24d62
--- /dev/null
+++ b/profiles/prefix/darwin/macos/10.13/x64/gcc/parent
@@ -0,0 +1,2 @@
+..
+../../../features/fsf-gcc-nold

diff --git a/profiles/prefix/darwin/macos/features/fsf-gcc-nold/package.mask 
b/profiles/prefix/darwin/macos/features/fsf-gcc-nold/package.mask
new file mode 100644
index 00000000000..8e306bca311
--- /dev/null
+++ b/profiles/prefix/darwin/macos/features/fsf-gcc-nold/package.mask
@@ -0,0 +1,6 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# unmask ld symlink package, due to missing blocks support we are not
+# able to compile this
+-sys-devel/native-cctools

diff --git a/profiles/prefix/darwin/macos/features/fsf-gcc-nold/packages 
b/profiles/prefix/darwin/macos/features/fsf-gcc-nold/packages
new file mode 100644
index 00000000000..ca17aa36acf
--- /dev/null
+++ b/profiles/prefix/darwin/macos/features/fsf-gcc-nold/packages
@@ -0,0 +1,11 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# usage of FSF GCC, disabling Clang, without binutils-apple (due to
+# missing blocks support in GCC)
+*sys-devel/gcc
+*sys-devel/gcc-config
+-*sys-devel/clang
+*sys-devel/gcc-apple
+-*sys-devel/binutils-apple
+*sys-devel/native-cctools

Reply via email to