* gdb.base/shlib-call.exp (additional_flags): Conditionally
set Irix-specific compile and link flags.
This commit is contained in:
parent
7e392df659
commit
3e000b1880
|
@ -1,3 +1,8 @@
|
||||||
|
2002-07-30 Kevin Buettner <kevinb@redhat.com>
|
||||||
|
|
||||||
|
* gdb.base/shlib-call.exp (additional_flags): Conditionally
|
||||||
|
set Irix-specific compile and link flags.
|
||||||
|
|
||||||
2002-07-29 Kevin Buettner <kevinb@redhat.com>
|
2002-07-29 Kevin Buettner <kevinb@redhat.com>
|
||||||
|
|
||||||
* lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
|
* lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
|
||||||
|
|
|
@ -65,6 +65,9 @@ if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}.o" object {debug
|
||||||
if {$gcc_compiled == 0} {
|
if {$gcc_compiled == 0} {
|
||||||
if [istarget "hppa*-hp-hpux*"] then {
|
if [istarget "hppa*-hp-hpux*"] then {
|
||||||
set additional_flags "additional_flags=+z"
|
set additional_flags "additional_flags=+z"
|
||||||
|
} elseif { [istarget "mips-sgi-irix*"] } {
|
||||||
|
# Disable SGI compiler's implicit -Dsgi
|
||||||
|
set additional_flags "additional_flags=-Usgi"
|
||||||
} else {
|
} else {
|
||||||
# don't know what the compiler is...
|
# don't know what the compiler is...
|
||||||
set additional_flags ""
|
set additional_flags ""
|
||||||
|
@ -103,6 +106,8 @@ if { ($gcc_compiled
|
||||||
&& ([istarget "powerpc*-*-aix*"]
|
&& ([istarget "powerpc*-*-aix*"]
|
||||||
|| [istarget "rs6000*-*-aix*"] )) } {
|
|| [istarget "rs6000*-*-aix*"] )) } {
|
||||||
set additional_flags "additional_flags=-L${objdir}/${subdir}"
|
set additional_flags "additional_flags=-L${objdir}/${subdir}"
|
||||||
|
} elseif { [istarget "mips-sgi-irix*"] } {
|
||||||
|
set additional_flags "additional_flags=-rpath ${objdir}/${subdir}"
|
||||||
} else {
|
} else {
|
||||||
set additional_flags ""
|
set additional_flags ""
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue