summaryrefslogtreecommitdiff
path: root/profiles/arch
diff options
context:
space:
mode:
Diffstat (limited to 'profiles/arch')
-rw-r--r--profiles/arch/x86/i525/make.defaults15
-rw-r--r--profiles/arch/x86/i525/parent1
-rw-r--r--profiles/arch/x86/make.defaults11
-rw-r--r--profiles/arch/x86/use.mask1
4 files changed, 27 insertions, 1 deletions
diff --git a/profiles/arch/x86/i525/make.defaults b/profiles/arch/x86/i525/make.defaults
new file mode 100644
index 000000000..a0b5e2df7
--- /dev/null
+++ b/profiles/arch/x86/i525/make.defaults
@@ -0,0 +1,15 @@
+CHOST="pentium3-foxkit-linux-musl"
+
+# -O2 -> Perform second-level optimisations.
+# Not -Os because most/all x86 aren't starved for space.
+# -ggdb -> Generate GDB debugging information.
+# This is used with splitdebug to make -dbg split packages.
+# -march=pen... -> Require a Pentium III or newer.
+# -mtune=pen... -> Tune for Pentium M processors.
+# More Pentium M netbooks exist than many realise, and they
+# are more likely users of Adélie than Pentium III. This
+# makes code more performant on the larger base of machines.
+# -mfpmath=sse -> Use SSE for all floating point math.
+# Since SSE is always available, this knob ensures that GCC
+# will take advantage of it over preferring 387 math.
+CFLAGS="-O2 -ggdb -march=pentium3 -mtune=pentium-m -mfpmath=sse"
diff --git a/profiles/arch/x86/i525/parent b/profiles/arch/x86/i525/parent
new file mode 100644
index 000000000..f3229c5b9
--- /dev/null
+++ b/profiles/arch/x86/i525/parent
@@ -0,0 +1 @@
+..
diff --git a/profiles/arch/x86/make.defaults b/profiles/arch/x86/make.defaults
index 8cc538311..258cf16e7 100644
--- a/profiles/arch/x86/make.defaults
+++ b/profiles/arch/x86/make.defaults
@@ -1 +1,10 @@
-ARCH=x86
+# CHOST is defined in each subarch.
+
+# We definitely use 32-bit ABI.
+ABI_X86="32"
+IUSE_IMPLICIT="abi_x86_32"
+
+ARCH="x86"
+ACCEPT_KEYWORDS="x86"
+
+USE="pam threads"
diff --git a/profiles/arch/x86/use.mask b/profiles/arch/x86/use.mask
new file mode 100644
index 000000000..db7ada688
--- /dev/null
+++ b/profiles/arch/x86/use.mask
@@ -0,0 +1 @@
+abi_x86_64