* lib/gdb.exp (gdb_compile): Set rpath and remove -ldl from the
list of compilation switches for <*-*-freebsd*>.
+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.
|| [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 } {