summaryrefslogtreecommitdiff
path: root/profiles/arch/x86/i525/make.defaults
diff options
context:
space:
mode:
Diffstat (limited to 'profiles/arch/x86/i525/make.defaults')
-rw-r--r--profiles/arch/x86/i525/make.defaults15
1 files changed, 15 insertions, 0 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"