This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH: Also check -m32 for i*86-*-linux*


"H.J. Lu" <hongjiu.lu@intel.com> writes:

> diff --git a/gcc/testsuite/gcc.misc-tests/linkage.exp b/gcc/testsuite/gcc.misc-tests/linkage.exp
> index 05c0311..768975a 100644
> --- a/gcc/testsuite/gcc.misc-tests/linkage.exp
> +++ b/gcc/testsuite/gcc.misc-tests/linkage.exp
> @@ -57,7 +57,7 @@ if { [isnative] && ![is_remote host] } then {
>  	    if [ string match "*64-bit*" $file_string ] {
>  		set native_cflags "-m64"
>  	    }
> -	} elseif [istarget "x86_64-*-linux*"] {
> +	} elseif [expr [istarget "i*86-*-linux*"] || [istarget "x86_64-*-linux*"]] {

No need for expr, it's implicit.

Andreas.

-- 
Andreas Schwab, schwab@redhat.com
GPG Key fingerprint = D4E8 DBE3 3813 BB5D FA84  5EC7 45C6 250E 6F00 984E
"And now for something completely different."


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]