aboutsummaryrefslogtreecommitdiffstats
path: root/src/build-data/cc
diff options
context:
space:
mode:
authorlloyd <[email protected]>2011-05-02 20:15:34 +0000
committerlloyd <[email protected]>2011-05-02 20:15:34 +0000
commit7b4382d96065b05ed44fbc24b9e8134036b070b9 (patch)
treee9d5ab9d3bb409583a1b2f3513be10fde9514609 /src/build-data/cc
parent465aee98a251a1ba2ae084311a0fd7b9db175c3f (diff)
Tweak settings for SuperH setup, based on Debian bug 594159. Since as
far as I know this is the first and only real use, or even test, of botan on the SH, I'll let them pick the names and flags...
Diffstat (limited to 'src/build-data/cc')
-rw-r--r--src/build-data/cc/gcc.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/build-data/cc/gcc.txt b/src/build-data/cc/gcc.txt
index fde33cde2..f82b9d36f 100644
--- a/src/build-data/cc/gcc.txt
+++ b/src/build-data/cc/gcc.txt
@@ -42,6 +42,9 @@ solaris -> "$(CXX) -shared -fPIC -Wl,-h,$(SONAME)"
i386 -> "-mtune=i686 -momit-leaf-frame-pointer"
ppc601 -> "-mpowerpc -mcpu=601"
+# The patch from Debian bug 594159 has this, don't know why though...
+sh4 -> "-m4 -mieee"
+
# Until GCC gets -march support for these models
nehalem -> "-march=core2 -msse4.1 -msse4.2"
westmere -> "-march=core2 -maes -msse4.1 -msse4.2"
@@ -55,7 +58,7 @@ alpha-ev7 -> "-mcpu=ev6"
# before it's put into SUBMODEL.
alpha -> "-mcpu=SUBMODEL" alpha-
arm -> "-march=SUBMODEL"
-hitachi-sh -> "-mSUBMODEL" hitachi-sh
+superh -> "-mSUBMODEL" sh
hppa -> "-march=SUBMODEL" hppa
ia64 -> "-mtune=SUBMODEL"
m68k -> "-mSUBMODEL"