diff options
author | Andreas Tobler <andreast@sourceware.org> | 2011-09-22 04:58:22 +0000 |
---|---|---|
committer | Andreas Tobler <andreast@sourceware.org> | 2011-09-22 04:58:22 +0000 |
commit | b2a6bdebeceeec07795812a2c96f655bbc0313f5 (patch) | |
tree | 47762c8a5d1661cf2ea87690d479efb9265296a7 | |
parent | 4b51d87b481e468cbf98a35428d5462cd8fd02dc (diff) | |
download | gdb-b2a6bdebeceeec07795812a2c96f655bbc0313f5.zip gdb-b2a6bdebeceeec07795812a2c96f655bbc0313f5.tar.gz gdb-b2a6bdebeceeec07795812a2c96f655bbc0313f5.tar.bz2 |
2011-09-22 Andreas Tobler <andreast@fgznet.ch>
* lib/gdb.exp (gdb_compile): Set rpath and remove -ldl from the
list of compilation switches for <*-*-freebsd*>.
-rw-r--r-- | gdb/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/testsuite/lib/gdb.exp | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 38e692c..d426e42 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2011-09-22 Andreas Tobler <andreast@fgznet.ch> + + * lib/gdb.exp (gdb_compile): Set rpath and remove -ldl from the + list of compilation switches for <*-*-freebsd*>. + 2011-09-19 Stan Shebs <stan@codesourcery.com> * gdb.trace/tspeed.exp: New file. diff --git a/gdb/testsuite/lib/gdb.exp b/gdb/testsuite/lib/gdb.exp index 1476c19..151d7e2 100644 --- a/gdb/testsuite/lib/gdb.exp +++ b/gdb/testsuite/lib/gdb.exp @@ -2233,7 +2233,7 @@ proc gdb_compile {source dest type options} { || [istarget *-*-pe*] || [istarget hppa*-*-hpux*])} { # Do not need anything. - } elseif { [istarget *-*-openbsd*] } { + } elseif { [istarget *-*-freebsd*] || [istarget *-*-openbsd*] } { lappend new_options "ldflags=-Wl,-rpath,${outdir}" } elseif { [istarget arm*-*-symbianelf*] } { if { $shlib_load } { |