Commit d4b0c416 by Kai Tietz Committed by Kai Tietz

builtins.exp: Add for mingw targets linker option --allow-multiple-definition.

	* gcc.c-torture/execute/builtins/builtins.exp: Add for mingw
	targets linker option --allow-multiple-definition.

From-SVN: r196545
parent 84bc513b
2013-03-08 Kai Tietz <ktietz@redhat.com>
* gcc.c-torture/execute/builtins/builtins.exp: Add for mingw
targets linker option --allow-multiple-definition.
* gcc.dg/pr14092-1.c: Mark intptr_t typedef to use extension.
* gcc.dg/pr24683.c: Avoid warning about casting constant string.
* gcc.dg/pr52549.c: Add LLP64 case.
......
......@@ -42,7 +42,8 @@ if [istarget "powerpc-*-darwin*"] {
lappend additional_flags "-Wl,-multiply_defined,suppress"
}
if { [istarget *-*-eabi*]
|| [istarget *-*-elf] } {
|| [istarget *-*-elf]
|| [istarget *-*-mingw*] } {
lappend additional_flags "-Wl,--allow-multiple-definition"
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment