* [PATCH] shlib-call.exp: Set Irix-specific compile/link flags
@ 2002-07-30 12:04 Kevin Buettner
0 siblings, 0 replies; only message in thread
From: Kevin Buettner @ 2002-07-30 12:04 UTC (permalink / raw)
To: gdb-patches
I've just checked in the changes below.
* gdb.base/shlib-call.exp (additional_flags): Conditionally
set Irix-specific compile and link flags.
Index: testsuite/gdb.base/shlib-call.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/shlib-call.exp,v
retrieving revision 1.5
diff -u -p -r1.5 shlib-call.exp
--- testsuite/gdb.base/shlib-call.exp 18 Apr 2002 21:07:20 -0000 1.5
+++ testsuite/gdb.base/shlib-call.exp 30 Jul 2002 18:31:44 -0000
@@ -65,6 +65,9 @@ if { [gdb_compile "${srcdir}/${subdir}/
if {$gcc_compiled == 0} {
if [istarget "hppa*-hp-hpux*"] then {
set additional_flags "additional_flags=+z"
+ } elseif { [istarget "mips-sgi-irix*"] } {
+ # Disable SGI compiler's implicit -Dsgi
+ set additional_flags "additional_flags=-Usgi"
} else {
# don't know what the compiler is...
set additional_flags ""
@@ -103,6 +106,8 @@ if { ($gcc_compiled
&& ([istarget "powerpc*-*-aix*"]
|| [istarget "rs6000*-*-aix*"] )) } {
set additional_flags "additional_flags=-L${objdir}/${subdir}"
+} elseif { [istarget "mips-sgi-irix*"] } {
+ set additional_flags "additional_flags=-rpath ${objdir}/${subdir}"
} else {
set additional_flags ""
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-07-30 18:55 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-07-30 12:04 [PATCH] shlib-call.exp: Set Irix-specific compile/link flags Kevin Buettner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox