Configure: replace -mv8 with -mcpu=v8 in SPARC config lines.
RT#3860 Reviewed-by: Tim Hudson <tjh@openssl.org>
This commit is contained in:
parent
71f6130b7a
commit
f8a35ccc57
@ -131,7 +131,7 @@
|
|||||||
},
|
},
|
||||||
"solaris-sparcv8-gcc" => {
|
"solaris-sparcv8-gcc" => {
|
||||||
inherit_from => [ "solaris-sparcv7-gcc", asm("sparcv8_asm") ],
|
inherit_from => [ "solaris-sparcv7-gcc", asm("sparcv8_asm") ],
|
||||||
cflags => sub { join(" ","-mv8",@_); },
|
cflags => sub { join(" ","-mcpu=v8",@_); },
|
||||||
},
|
},
|
||||||
"solaris-sparcv9-gcc" => {
|
"solaris-sparcv9-gcc" => {
|
||||||
# -m32 should be safe to add as long as driver recognizes
|
# -m32 should be safe to add as long as driver recognizes
|
||||||
@ -695,7 +695,7 @@
|
|||||||
# patiently assisted with debugging of following two configs.
|
# patiently assisted with debugging of following two configs.
|
||||||
"linux-sparcv8" => {
|
"linux-sparcv8" => {
|
||||||
inherit_from => [ "linux-generic32", asm("sparcv8_asm") ],
|
inherit_from => [ "linux-generic32", asm("sparcv8_asm") ],
|
||||||
cflags => "-mv8 -Wall -DB_ENDIAN -DBN_DIV2W",
|
cflags => "-mcpu=v8 -Wall -DB_ENDIAN -DBN_DIV2W",
|
||||||
},
|
},
|
||||||
"linux-sparcv9" => {
|
"linux-sparcv9" => {
|
||||||
# it's a real mess with -mcpu=ultrasparc option under Linux,
|
# it's a real mess with -mcpu=ultrasparc option under Linux,
|
||||||
@ -861,7 +861,7 @@
|
|||||||
|
|
||||||
"BSD-sparcv8" => {
|
"BSD-sparcv8" => {
|
||||||
inherit_from => [ "BSD-generic32", asm("sparcv8_asm") ],
|
inherit_from => [ "BSD-generic32", asm("sparcv8_asm") ],
|
||||||
cflags => "-mv8 -Wall -DB_ENDIAN",
|
cflags => "-mcpu=v8 -Wall -DB_ENDIAN",
|
||||||
},
|
},
|
||||||
"BSD-sparc64" => {
|
"BSD-sparc64" => {
|
||||||
# -DMD32_REG_T=int doesn't actually belong in sparc64 target, it
|
# -DMD32_REG_T=int doesn't actually belong in sparc64 target, it
|
||||||
|
Loading…
x
Reference in New Issue
Block a user