diff options
author | lloyd <[email protected]> | 2011-05-12 13:28:28 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2011-05-12 13:28:28 +0000 |
commit | 6b97d4b061b07f036dc3f823d6cd082fa67a71bb (patch) | |
tree | 8355a22c985d4e77f06c7c99d7ec8a389a68ac8d /src/build-data/cc | |
parent | c0dadc0c4b14dadb8891b7cda35ba23bf4d31550 (diff) |
Renaming the ppc target to ppc32 prevented -mcpu flags from being set
by GCC.
Add Niagra targets for sparc, and extend/fix the Sun Studio flags for
SPARC64.
Diffstat (limited to 'src/build-data/cc')
-rw-r--r-- | src/build-data/cc/gcc.txt | 2 | ||||
-rw-r--r-- | src/build-data/cc/sunstudio.txt | 6 |
2 files changed, 6 insertions, 2 deletions
diff --git a/src/build-data/cc/gcc.txt b/src/build-data/cc/gcc.txt index e7cbec514..aadb3ad1f 100644 --- a/src/build-data/cc/gcc.txt +++ b/src/build-data/cc/gcc.txt @@ -68,7 +68,7 @@ ia64 -> "-mtune=SUBMODEL" m68k -> "-mSUBMODEL" mips32 -> "-mips1 -mcpu=SUBMODEL" mips32- mips64 -> "-mips3 -mcpu=SUBMODEL" mips64- -ppc -> "-mcpu=SUBMODEL" ppc +ppc32 -> "-mcpu=SUBMODEL" ppc ppc64 -> "-mcpu=SUBMODEL" ppc sparc32 -> "-mcpu=SUBMODEL -Wa,-xarch=v8plus" sparc32- sparc64 -> "-mcpu=v9 -mtune=SUBMODEL" diff --git a/src/build-data/cc/sunstudio.txt b/src/build-data/cc/sunstudio.txt index e7e4ca522..43e5fcf8a 100644 --- a/src/build-data/cc/sunstudio.txt +++ b/src/build-data/cc/sunstudio.txt @@ -40,8 +40,12 @@ nehalem -> "-xtarget=nehalem" sparc32-v9 -> "-xchip=ultra -xarch=v8" +ultrasparc3 -> "-xchip=ultra3" +niagra1 -> "-xchip=ultraT1" +niagra2 -> "-xchip=ultraT2" + sparc32 -> "-xchip=ultra -xarch=SUBMODEL" sparc32- -sparc64 -> "-xchip=SUBMODEL" sparc64- +sparc64 -> "-xchip=generic" </mach_opt> <mach_abi_linking> |