+2006-12-30 Pedro Alves <pedro_alves@portugalmail.pt>
+
+ * lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
+ and generic PE targets.
+
2006-12-29 Joel Brobecker <brobecker@adacore.com>
* gdb.ada/array_return.exp: Update copyright date list.
}
"gcc-*" {
if { !([istarget "powerpc*-*-aix*"]
- || [istarget "rs6000*-*-aix*"]) } {
+ || [istarget "rs6000*-*-aix*"]
+ || [istarget "*-*-cygwin*"]
+ || [istarget "*-*-mingw*"]
+ || [istarget "*-*-pe*"]) } {
lappend obj_options "additional_flags=-fpic"
}
}