diff options
author | Pierre Muller <muller@sourceware.org> | 2009-10-02 22:25:26 +0000 |
---|---|---|
committer | Pierre Muller <muller@sourceware.org> | 2009-10-02 22:25:26 +0000 |
commit | bb61102ddc1267c87fd54febdd8c288e4de8fff5 (patch) | |
tree | 2dba0e49e9e8ac9f40290a46594cb90d2e01a50f /gdb | |
parent | ace5c364a5a301526d3e97b1b291496d510a600f (diff) | |
download | fsf-binutils-gdb-bb61102ddc1267c87fd54febdd8c288e4de8fff5.zip fsf-binutils-gdb-bb61102ddc1267c87fd54febdd8c288e4de8fff5.tar.gz fsf-binutils-gdb-bb61102ddc1267c87fd54febdd8c288e4de8fff5.tar.bz2 |
* lib/gdb.exp (gdb_compile): Add --enable-auto-import option for
mingw and cygwin targets.
Diffstat (limited to 'gdb')
-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 957cf90..9fc5e0f 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,4 +1,9 @@ 2009-10-02 Pierre Muller <muller@ics.u-strasbg.fr> + + * lib/gdb.exp (gdb_compile): Add --enable-auto-import option for + mingw and cygwin targets. + +2009-10-02 Pierre Muller <muller@ics.u-strasbg.fr> Pedro Alves <pedro@codesourcery.com> * lib/gdb.exp (gdb_compile): Avoid adding diff --git a/gdb/testsuite/lib/gdb.exp b/gdb/testsuite/lib/gdb.exp index af69c68..c911517 100644 --- a/gdb/testsuite/lib/gdb.exp +++ b/gdb/testsuite/lib/gdb.exp @@ -1731,7 +1731,10 @@ proc gdb_compile {source dest type options} { lappend options "additional_flags=-L${outdir}" } elseif { [istarget "mips-sgi-irix*"] } { lappend options "additional_flags=-rpath ${outdir}" - } + } elseif { ([istarget "*-*-mingw*"] + || [istarget *-*-cygwin*]) } { + lappend new_options "additional_flags=-Wl,--enable-auto-import" + } } } elseif { $opt == "shlib_load" } { if { ([istarget "*-*-mingw*"] |