* lib/gdb.exp (gdb_compile): Add --enable-auto-import option for
mingw and cygwin targets.
This commit is contained in:
parent
ace5c364a5
commit
bb61102ddc
|
@ -1,3 +1,8 @@
|
|||
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>
|
||||
|
||||
|
|
|
@ -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*"]
|
||||
|
|
Loading…
Reference in New Issue