aboutsummaryrefslogtreecommitdiffstats
path: root/src/build-data/cc/gcc.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/build-data/cc/gcc.txt')
-rw-r--r--src/build-data/cc/gcc.txt7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/build-data/cc/gcc.txt b/src/build-data/cc/gcc.txt
index 14d6eff2f..23da2a972 100644
--- a/src/build-data/cc/gcc.txt
+++ b/src/build-data/cc/gcc.txt
@@ -39,6 +39,11 @@ solaris -> "$(CXX) -shared -fPIC -Wl,-h,$(SONAME)"
</so_link_flags>
<mach_opt>
+# Avoid using -march=i[345]86, instead tune for generic
+i386 -> "-mtune=generic -momit-leaf-frame-pointer"
+i486 -> "-mtune=generic -momit-leaf-frame-pointer"
+i586 -> "-mtune=generic -momit-leaf-frame-pointer"
+
ppc601 -> "-mpowerpc -mcpu=601"
cellppu -> "-mcpu=cell"
e500v2 -> "-mcpu=8548"
@@ -50,8 +55,6 @@ alpha-ev7 -> "-mcpu=ev67"
# The patch from Debian bug 594159 has this, don't know why though...
sh4 -> "-m4 -mieee"
-# This is mostly for Debian's benefit
-i486 -> "-mtune=generic -momit-leaf-frame-pointer"
# Until GCC gets -march support for these models
nehalem -> "-march=core2 -msse4.1 -msse4.2 -momit-leaf-frame-pointer"