commit: 8badb2d48142c84cd60e9363a45bac899b8da3d2
Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 21 22:24:22 2024 +0000
Commit: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Sun Jan 21 22:24:22 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8badb2d4
profiles, x86, 23.0: add and inherit i{4,6}86 subfeatures
Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>
profiles/arch/x86/i486/eapi | 1 +
profiles/arch/x86/i486/make.defaults | 10 ++++++++++
profiles/arch/x86/i686/eapi | 1 +
profiles/arch/x86/i686/make.defaults | 10 ++++++++++
profiles/default/linux/x86/23.0/i486/parent | 1 +
profiles/default/linux/x86/23.0/i686/parent | 1 +
6 files changed, 24 insertions(+)
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