* lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
and generic PE targets.
This commit is contained in:
parent
87a918e202
commit
227c54da38
|
@ -1,3 +1,8 @@
|
|||
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.
|
||||
|
|
|
@ -1575,7 +1575,10 @@ proc gdb_compile_shlib {sources dest options} {
|
|||
}
|
||||
"gcc-*" {
|
||||
if { !([istarget "powerpc*-*-aix*"]
|
||||
|| [istarget "rs6000*-*-aix*"]) } {
|
||||
|| [istarget "rs6000*-*-aix*"]
|
||||
|| [istarget "*-*-cygwin*"]
|
||||
|| [istarget "*-*-mingw*"]
|
||||
|| [istarget "*-*-pe*"]) } {
|
||||
lappend obj_options "additional_flags=-fpic"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue