This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: Also check -m32 for i*86-*-linux*
- From: Andreas Schwab <schwab at redhat dot com>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>
- Cc: gcc-patches at gcc dot gnu dot org, janis187 at us dot ibm dot com
- Date: Thu, 12 Nov 2009 17:11:14 +0100
- Subject: Re: PATCH: Also check -m32 for i*86-*-linux*
- References: <20091112160010.GA17128@lucon.org>
"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."