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 d91e8091f9ae..020901043602 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 1c0df4a5c34a..c372b5cae740 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 bc129813548d..b9464e7a2a0e 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 918b7eb99708..2e9a6dee39d3 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 881ead4e2bb6..ff7d41e9b6ed 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 fc7ab94d55c3..1c265fd79b9a 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 e2de73106745..701853b9bfd7 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 23a4c84da2b8..de733d2806a3 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 ef3a3932cb02..7cd2a2caba26 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 69a5d6a640c1..34a480e2f1a1 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 2097d6872ee5..a0835e2ad871 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 013e22939e11..f606f1fbdc5a 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 c3dd43c71325..23d3fd2b8948 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 b10fb531d25f..e8831181e701 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 95b47fbd2d64..092253cac5a2 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 aff95e51d922..8b994140ed32 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 4e6b922ab1b8..3a38bd918d51 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"