From: Daniel Jacobowitz Date: Sat, 30 Dec 2006 20:32:47 +0000 (+0000) Subject: * lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW X-Git-Tag: drow-reverse-20070409-branchpoint~973 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=227c54da38fd784b2d6c3c1ee57c77a2cf69618d;p=platform%2Fupstream%2Fbinutils.git * lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW and generic PE targets. --- 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 + + * lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW + and generic PE targets. + 2006-12-29 Joel Brobecker * 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" } }