summaryrefslogtreecommitdiff
path: root/profiles/arch/x86/i525/make.defaults
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2016-08-01 04:19:55 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2016-08-01 04:19:55 -0500
commitd32d99bd7e3872afd4a5ca8f55b18748336db84b (patch)
tree7cc0680b68bc439a07b610d03bed867ee75d4f1c /profiles/arch/x86/i525/make.defaults
parent8cb0f3fa8f714fa746096a8299aafa6d968f2c8b (diff)
downloadpackages-d32d99bd7e3872afd4a5ca8f55b18748336db84b.tar.gz
packages-d32d99bd7e3872afd4a5ca8f55b18748336db84b.tar.bz2
packages-d32d99bd7e3872afd4a5ca8f55b18748336db84b.tar.xz
packages-d32d99bd7e3872afd4a5ca8f55b18748336db84b.zip
Profiles: Add i525 profile
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"