[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: fortran.m4: sh architecture specific option treamtment.
From: |
Eric Blake |
Subject: |
Re: fortran.m4: sh architecture specific option treamtment. |
Date: |
Thu, 23 Oct 2008 19:59:16 -0600 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.17) Gecko/20080914 Thunderbird/2.0.0.17 Mnenhy/0.7.5.666 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
According to CHIKAMA Masaki on 10/23/2008 2:19 AM:
Hello Masaki, and thanks for the report.
> On sh architecture, gcc(gfortran) passes "-little" option to gas when
> compiling.
> This causes the failure of configure script which checking gfortran.
I'm personally not a fortran user, but this patch looks harmless enough
and comes with good reasoning. I've reformatted it slightly to avoid 80
columns, added a ChangeLog entry, added you to THANKS, and committed it.
http://git.savannah.gnu.org/gitweb/?p=autoconf.git;a=commitdiff;h=3f38aad
> --- lib/autoconf/fortran.m4.org 2008-07-28 22:26:19.000000000 +0900
> +++ lib/autoconf/fortran.m4 2008-07-28 22:26:37.000000000 +0900
> @@ -666,7 +666,7 @@
> [_AC_LINKER_OPTION([$ac_arg], ac_cv_[]_AC_LANG_ABBREV[]_libs)])
> ;;
> # Ignore these flags.
> - -lang* | -lcrt*.o | -lc | -lgcc* | -lSystem | -libmil | -LANG:=* |
> -LIST:* | -LNO:*)
> + -little | -lang* | -lcrt*.o | -lc | -lgcc* | -lSystem | -libmil |
> -LANG:=* | -LIST:* | -LNO:*)
> ;;
> -lkernel32)
> test x"$CYGWIN" != xyes &&
> ac_cv_[]_AC_LANG_ABBREV[]_libs="$ac_cv_[]_AC_LANG_ABBREV[]_libs $ac_arg"
>
>
> The original post is
> https://bugzilla.redhat.com/show_bug.cgi?id=456886
>
- --
Don't work too hard, make some time for fun as well!
Eric Blake address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkkBK/QACgkQ84KuGfSFAYAt6QCg15m5Vwr2bt7csQOWkNPsFYP3
NlwAnA9WyWWW9SQAewJkQDtklMxGG1V6
=HHCi
-----END PGP SIGNATURE-----