Commit daf1735f by Simon Baldwin Committed by Simon Baldwin

linkage.exp: Added -m64 to x86_64 linux target native C compilation where required.


	* gcc.misc-tests/linkage.exp: Added -m64 to x86_64 linux target
	native C compilation where required.

From-SVN: r149997
parent ec88784d
2009-07-23 Simon Baldwin <simonb@google.com>
* gcc.misc-tests/linkage.exp: Added -m64 to x86_64 linux target
native C compilation where required.
2009-07-22 Doug Kwan <dougkwan@google.com>
* gcc.c-torture/compile/20090721-1.c: New test.
......
......@@ -62,6 +62,9 @@ if { [isnative] && ![is_remote host] } then {
if [ string match "*32-bit*" $file_string ] {
set native_cflags "-m32"
}
if [ string match "*64-bit*" $file_string ] {
set native_cflags "-m64"
}
} elseif [istarget "*-hp-hpux*"] {
set file_string [exec file "linkage-x.o"]
if [ string match "*ELF-64*" $file_string ] {
......
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