summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2016-01-24 21:07:23 +0100
committerFabian Groffen <grobian@gentoo.org>2016-01-24 21:08:18 +0100
commit55afe0564da1243412b31aafbc30115c6c3e5e82 (patch)
tree20b7032bea6cb4478ec1caa1166b517e3ebdbd23
parentSplit emacs herd and assign its packages to Emacs and GNU Emacs projects. (diff)
downloadgentoo-55afe0564da1243412b31aafbc30115c6c3e5e82.tar.gz
gentoo-55afe0564da1243412b31aafbc30115c6c3e5e82.tar.bz2
gentoo-55afe0564da1243412b31aafbc30115c6c3e5e82.zip
profiles/prefix/darwin/macos: switch CFLAGS to single native target
-rw-r--r--profiles/prefix/darwin/macos/10.10/x64/make.defaults3
-rw-r--r--profiles/prefix/darwin/macos/10.10/x86/make.defaults3
-rw-r--r--profiles/prefix/darwin/macos/10.11/x64/make.defaults3
-rw-r--r--profiles/prefix/darwin/macos/10.11/x86/make.defaults3
-rw-r--r--profiles/prefix/darwin/macos/10.4/x86/make.defaults3
-rw-r--r--profiles/prefix/darwin/macos/10.5/x64/make.defaults3
-rw-r--r--profiles/prefix/darwin/macos/10.5/x86/make.defaults3
-rw-r--r--profiles/prefix/darwin/macos/10.6/x64/make.defaults3
-rw-r--r--profiles/prefix/darwin/macos/10.6/x86/make.defaults3
-rw-r--r--profiles/prefix/darwin/macos/10.7/x64/make.defaults3
-rw-r--r--profiles/prefix/darwin/macos/10.7/x86/make.defaults3
-rw-r--r--profiles/prefix/darwin/macos/10.8/x64/make.defaults3
-rw-r--r--profiles/prefix/darwin/macos/10.8/x86/make.defaults3
-rw-r--r--profiles/prefix/darwin/macos/10.9/x64/make.defaults3
-rw-r--r--profiles/prefix/darwin/macos/10.9/x86/make.defaults3
-rw-r--r--profiles/prefix/darwin/macos/arch/x64/make.defaults2
-rw-r--r--profiles/prefix/darwin/macos/arch/x86/make.defaults2
17 files changed, 4 insertions, 45 deletions
diff --git a/profiles/prefix/darwin/macos/10.10/x64/make.defaults b/profiles/prefix/darwin/macos/10.10/x64/make.defaults
index d91e8091f9a..02090104360 100644
--- a/profiles/prefix/darwin/macos/10.10/x64/make.defaults
+++ b/profiles/prefix/darwin/macos/10.10/x64/make.defaults
@@ -8,6 +8,3 @@ ACCEPT_KEYWORDS="~x64-macos"
USE="mmx mmxext sse sse2"
CPU_FLAGS_X86="mmx mmxext sse sse2"
-# set arch to nocona for all MacTel users, as this enables SSE and MMX
-# support in GCC, nocona = Core2Duo = 64-bits
-CFLAGS="-march=nocona"
diff --git a/profiles/prefix/darwin/macos/10.10/x86/make.defaults b/profiles/prefix/darwin/macos/10.10/x86/make.defaults
index 1c0df4a5c34..c372b5cae74 100644
--- a/profiles/prefix/darwin/macos/10.10/x86/make.defaults
+++ b/profiles/prefix/darwin/macos/10.10/x86/make.defaults
@@ -8,6 +8,3 @@ ACCEPT_KEYWORDS="~x86-macos"
USE="mmx mmxext sse sse2"
CPU_FLAGS_X86="mmx mmxext sse sse2"
-# normally we set arch to prescott for all MacTel users, as this enables
-# SSE and MMX support in GCC
-CFLAGS="-march=prescott"
diff --git a/profiles/prefix/darwin/macos/10.11/x64/make.defaults b/profiles/prefix/darwin/macos/10.11/x64/make.defaults
index bc129813548..b9464e7a2a0 100644
--- a/profiles/prefix/darwin/macos/10.11/x64/make.defaults
+++ b/profiles/prefix/darwin/macos/10.11/x64/make.defaults
@@ -8,6 +8,3 @@ ACCEPT_KEYWORDS="~x64-macos"
USE="mmx mmxext sse sse2"
CPU_FLAGS_X86="mmx mmxext sse sse2"
-# set arch to nocona for all MacTel users, as this enables SSE and MMX
-# support in GCC, nocona = Core2Duo = 64-bits
-CFLAGS="-march=nocona"
diff --git a/profiles/prefix/darwin/macos/10.11/x86/make.defaults b/profiles/prefix/darwin/macos/10.11/x86/make.defaults
index 918b7eb9970..2e9a6dee39d 100644
--- a/profiles/prefix/darwin/macos/10.11/x86/make.defaults
+++ b/profiles/prefix/darwin/macos/10.11/x86/make.defaults
@@ -8,6 +8,3 @@ ACCEPT_KEYWORDS="~x86-macos"
USE="mmx mmxext sse sse2"
CPU_FLAGS_X86="mmx mmxext sse sse2"
-# normally we set arch to prescott for all MacTel users, as this enables
-# SSE and MMX support in GCC
-CFLAGS="-march=prescott"
diff --git a/profiles/prefix/darwin/macos/10.4/x86/make.defaults b/profiles/prefix/darwin/macos/10.4/x86/make.defaults
index 881ead4e2bb..ff7d41e9b6e 100644
--- a/profiles/prefix/darwin/macos/10.4/x86/make.defaults
+++ b/profiles/prefix/darwin/macos/10.4/x86/make.defaults
@@ -8,6 +8,3 @@ ACCEPT_KEYWORDS="~x86-macos"
USE="mmx mmxext sse sse2"
CPU_FLAGS_X86="mmx mmxext sse sse2"
-# set arch to prescott for all MacTel users, as this enables SSE and MMX
-# support in GCC
-CFLAGS="-march=prescott"
diff --git a/profiles/prefix/darwin/macos/10.5/x64/make.defaults b/profiles/prefix/darwin/macos/10.5/x64/make.defaults
index fc7ab94d55c..1c265fd79b9 100644
--- a/profiles/prefix/darwin/macos/10.5/x64/make.defaults
+++ b/profiles/prefix/darwin/macos/10.5/x64/make.defaults
@@ -8,6 +8,3 @@ ACCEPT_KEYWORDS="~x64-macos"
USE="mmx mmxext sse sse2"
CPU_FLAGS_X86="mmx mmxext sse sse2"
-# set arch to nocona for all MacTel users, as this enables SSE and MMX
-# support in GCC, nocona = Core2Duo = 64-bits
-CFLAGS="-march=nocona"
diff --git a/profiles/prefix/darwin/macos/10.5/x86/make.defaults b/profiles/prefix/darwin/macos/10.5/x86/make.defaults
index e2de7310674..701853b9bfd 100644
--- a/profiles/prefix/darwin/macos/10.5/x86/make.defaults
+++ b/profiles/prefix/darwin/macos/10.5/x86/make.defaults
@@ -8,6 +8,3 @@ ACCEPT_KEYWORDS="~x86-macos"
USE="mmx mmxext sse sse2"
CPU_FLAGS_X86="mmx mmxext sse sse2"
-# set arch to prescott for all MacTel users, as this enables SSE and MMX
-# support in GCC
-CFLAGS="-march=prescott"
diff --git a/profiles/prefix/darwin/macos/10.6/x64/make.defaults b/profiles/prefix/darwin/macos/10.6/x64/make.defaults
index 23a4c84da2b..de733d2806a 100644
--- a/profiles/prefix/darwin/macos/10.6/x64/make.defaults
+++ b/profiles/prefix/darwin/macos/10.6/x64/make.defaults
@@ -8,6 +8,3 @@ ACCEPT_KEYWORDS="~x64-macos"
USE="mmx mmxext sse sse2"
CPU_FLAGS_X86="mmx mmxext sse sse2"
-# set arch to nocona for all MacTel users, as this enables SSE and MMX
-# support in GCC, nocona = Core2Duo = 64-bits
-CFLAGS="-march=nocona"
diff --git a/profiles/prefix/darwin/macos/10.6/x86/make.defaults b/profiles/prefix/darwin/macos/10.6/x86/make.defaults
index ef3a3932cb0..7cd2a2caba2 100644
--- a/profiles/prefix/darwin/macos/10.6/x86/make.defaults
+++ b/profiles/prefix/darwin/macos/10.6/x86/make.defaults
@@ -8,6 +8,3 @@ ACCEPT_KEYWORDS="~x86-macos"
USE="mmx mmxext sse sse2"
CPU_FLAGS_X86="mmx mmxext sse sse2"
-# normally we set arch to prescott for all MacTel users, as this enables
-# SSE and MMX support in GCC
-CFLAGS="-march=prescott"
diff --git a/profiles/prefix/darwin/macos/10.7/x64/make.defaults b/profiles/prefix/darwin/macos/10.7/x64/make.defaults
index 69a5d6a640c..34a480e2f1a 100644
--- a/profiles/prefix/darwin/macos/10.7/x64/make.defaults
+++ b/profiles/prefix/darwin/macos/10.7/x64/make.defaults
@@ -8,6 +8,3 @@ ACCEPT_KEYWORDS="~x64-macos"
USE="mmx mmxext sse sse2"
CPU_FLAGS_X86="mmx mmxext sse sse2"
-# set arch to nocona for all MacTel users, as this enables SSE and MMX
-# support in GCC, nocona = Core2Duo = 64-bits
-CFLAGS="-march=nocona"
diff --git a/profiles/prefix/darwin/macos/10.7/x86/make.defaults b/profiles/prefix/darwin/macos/10.7/x86/make.defaults
index 2097d6872ee..a0835e2ad87 100644
--- a/profiles/prefix/darwin/macos/10.7/x86/make.defaults
+++ b/profiles/prefix/darwin/macos/10.7/x86/make.defaults
@@ -8,6 +8,3 @@ ACCEPT_KEYWORDS="~x86-macos"
USE="mmx mmxext sse sse2"
CPU_FLAGS_X86="mmx mmxext sse sse2"
-# normally we set arch to prescott for all MacTel users, as this enables
-# SSE and MMX support in GCC
-CFLAGS="-march=prescott"
diff --git a/profiles/prefix/darwin/macos/10.8/x64/make.defaults b/profiles/prefix/darwin/macos/10.8/x64/make.defaults
index 013e22939e1..f606f1fbdc5 100644
--- a/profiles/prefix/darwin/macos/10.8/x64/make.defaults
+++ b/profiles/prefix/darwin/macos/10.8/x64/make.defaults
@@ -8,6 +8,3 @@ ACCEPT_KEYWORDS="~x64-macos"
USE="mmx mmxext sse sse2"
CPU_FLAGS_X86="mmx mmxext sse sse2"
-# set arch to nocona for all MacTel users, as this enables SSE and MMX
-# support in GCC, nocona = Core2Duo = 64-bits
-CFLAGS="-march=nocona"
diff --git a/profiles/prefix/darwin/macos/10.8/x86/make.defaults b/profiles/prefix/darwin/macos/10.8/x86/make.defaults
index c3dd43c7132..23d3fd2b894 100644
--- a/profiles/prefix/darwin/macos/10.8/x86/make.defaults
+++ b/profiles/prefix/darwin/macos/10.8/x86/make.defaults
@@ -8,6 +8,3 @@ ACCEPT_KEYWORDS="~x86-macos"
USE="mmx mmxext sse sse2"
CPU_FLAGS_X86="mmx mmxext sse sse2"
-# normally we set arch to prescott for all MacTel users, as this enables
-# SSE and MMX support in GCC
-CFLAGS="-march=prescott"
diff --git a/profiles/prefix/darwin/macos/10.9/x64/make.defaults b/profiles/prefix/darwin/macos/10.9/x64/make.defaults
index b10fb531d25..e8831181e70 100644
--- a/profiles/prefix/darwin/macos/10.9/x64/make.defaults
+++ b/profiles/prefix/darwin/macos/10.9/x64/make.defaults
@@ -8,6 +8,3 @@ ACCEPT_KEYWORDS="~x64-macos"
USE="mmx mmxext sse sse2"
CPU_FLAGS_X86="mmx mmxext sse sse2"
-# set arch to nocona for all MacTel users, as this enables SSE and MMX
-# support in GCC, nocona = Core2Duo = 64-bits
-CFLAGS="-march=nocona"
diff --git a/profiles/prefix/darwin/macos/10.9/x86/make.defaults b/profiles/prefix/darwin/macos/10.9/x86/make.defaults
index 95b47fbd2d6..092253cac5a 100644
--- a/profiles/prefix/darwin/macos/10.9/x86/make.defaults
+++ b/profiles/prefix/darwin/macos/10.9/x86/make.defaults
@@ -8,6 +8,3 @@ ACCEPT_KEYWORDS="~x86-macos"
USE="mmx mmxext sse sse2"
CPU_FLAGS_X86="mmx mmxext sse sse2"
-# normally we set arch to prescott for all MacTel users, as this enables
-# SSE and MMX support in GCC
-CFLAGS="-march=prescott"
diff --git a/profiles/prefix/darwin/macos/arch/x64/make.defaults b/profiles/prefix/darwin/macos/arch/x64/make.defaults
index aff95e51d92..8b994140ed3 100644
--- a/profiles/prefix/darwin/macos/arch/x64/make.defaults
+++ b/profiles/prefix/darwin/macos/arch/x64/make.defaults
@@ -8,3 +8,5 @@ DEFAULT_ABI="amd64"
ABI="amd64"
IUSE_IMPLICIT="abi_x86_64"
LIBDIR_amd64="lib"
+# We use Clang, let it figure out what is the best to use
+CFLAGS="-march=native"
diff --git a/profiles/prefix/darwin/macos/arch/x86/make.defaults b/profiles/prefix/darwin/macos/arch/x86/make.defaults
index 4e6b922ab1b..3a38bd918d5 100644
--- a/profiles/prefix/darwin/macos/arch/x86/make.defaults
+++ b/profiles/prefix/darwin/macos/arch/x86/make.defaults
@@ -8,3 +8,5 @@ DEFAULT_ABI="x86"
ABI="x86"
IUSE_IMPLICIT="abi_x86_32"
LIBDIR_x86="lib"
+# We use Clang, let it figure out what is the best to use
+CFLAGS="-march=native"