diff options
author | Daniel Jacobowitz <drow@false.org> | 2006-12-30 20:32:47 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2006-12-30 20:32:47 +0000 |
commit | 227c54da38fd784b2d6c3c1ee57c77a2cf69618d (patch) | |
tree | 9c7429dd9ba4806900625da9ab69a710538195bd | |
parent | 87a918e2022c6fce422fc0906c1fe7377d502d37 (diff) | |
download | gdb-227c54da38fd784b2d6c3c1ee57c77a2cf69618d.zip gdb-227c54da38fd784b2d6c3c1ee57c77a2cf69618d.tar.gz gdb-227c54da38fd784b2d6c3c1ee57c77a2cf69618d.tar.bz2 |
* lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
and generic PE targets.
-rw-r--r-- | gdb/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/testsuite/lib/gdb.exp | 5 |
2 files changed, 9 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 68106c4..4003556 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -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. diff --git a/gdb/testsuite/lib/gdb.exp b/gdb/testsuite/lib/gdb.exp index 3c1eb87..10f7728 100644 --- a/gdb/testsuite/lib/gdb.exp +++ b/gdb/testsuite/lib/gdb.exp @@ -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" } } |