summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2024-01-21 23:24:22 +0100
committerAndreas K. Hüttel <dilfridge@gentoo.org>2024-01-21 23:24:22 +0100
commit8badb2d48142c84cd60e9363a45bac899b8da3d2 (patch)
tree565dc914dd26f4061d535c1a41ee7737d60f1456 /profiles
parentprofiles: split x86 23.0 profiles into (so far identical) i486 and i686 (diff)
downloadgentoo-8badb2d48142c84cd60e9363a45bac899b8da3d2.tar.gz
gentoo-8badb2d48142c84cd60e9363a45bac899b8da3d2.tar.bz2
gentoo-8badb2d48142c84cd60e9363a45bac899b8da3d2.zip
profiles, x86, 23.0: add and inherit i{4,6}86 subfeatures
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
Diffstat (limited to 'profiles')
-rw-r--r--profiles/arch/x86/i486/eapi1
-rw-r--r--profiles/arch/x86/i486/make.defaults10
-rw-r--r--profiles/arch/x86/i686/eapi1
-rw-r--r--profiles/arch/x86/i686/make.defaults10
-rw-r--r--profiles/default/linux/x86/23.0/i486/parent1
-rw-r--r--profiles/default/linux/x86/23.0/i686/parent1
6 files changed, 24 insertions, 0 deletions
diff --git a/profiles/arch/x86/i486/eapi b/profiles/arch/x86/i486/eapi
new file mode 100644
index 000000000000..7ed6ff82de6b
--- /dev/null
+++ b/profiles/arch/x86/i486/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/arch/x86/i486/make.defaults b/profiles/arch/x86/i486/make.defaults
new file mode 100644
index 000000000000..48bd5c26d31b
--- /dev/null
+++ b/profiles/arch/x86/i486/make.defaults
@@ -0,0 +1,10 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+CHOST="i486-pc-linux-gnu"
+CFLAGS="-O2 -march=i486 -pipe"
+CXXFLAGS="${CFLAGS}"
+FFLAGS="${CFLAGS}"
+FCFLAGS="${CFLAGS}"
+
+CPU_FLAGS_X86=""
diff --git a/profiles/arch/x86/i686/eapi b/profiles/arch/x86/i686/eapi
new file mode 100644
index 000000000000..7ed6ff82de6b
--- /dev/null
+++ b/profiles/arch/x86/i686/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/arch/x86/i686/make.defaults b/profiles/arch/x86/i686/make.defaults
new file mode 100644
index 000000000000..ac358d7c0392
--- /dev/null
+++ b/profiles/arch/x86/i686/make.defaults
@@ -0,0 +1,10 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+CHOST="i686-pc-linux-gnu"
+CFLAGS="-O2 -march=i686 -pipe"
+CXXFLAGS="${CFLAGS}"
+FFLAGS="${CFLAGS}"
+FCFLAGS="${CFLAGS}"
+
+CPU_FLAGS_X86="mmx sse"
diff --git a/profiles/default/linux/x86/23.0/i486/parent b/profiles/default/linux/x86/23.0/i486/parent
index f3229c5b9876..d32f3b6cc8c4 100644
--- a/profiles/default/linux/x86/23.0/i486/parent
+++ b/profiles/default/linux/x86/23.0/i486/parent
@@ -1 +1,2 @@
..
+../../../../../arch/x86/i486
diff --git a/profiles/default/linux/x86/23.0/i686/parent b/profiles/default/linux/x86/23.0/i686/parent
index f3229c5b9876..7cba910cc93d 100644
--- a/profiles/default/linux/x86/23.0/i686/parent
+++ b/profiles/default/linux/x86/23.0/i686/parent
@@ -1 +1,2 @@
..
+../../../../../arch/x86/i686