https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43301

Eric Gallager <egallager at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-07-21
                 CC|                            |egallager at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #2 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Ryan Johnson from comment #0)
> ./configure ... --with-build-time-tools=$MY_TOOLS ignores $MY_TOOLS (though
> it correctly warns when $MY_TOOLS is not an absolute path).
> 
> Let's just say this led to extremely frustrating behavior until I decided to
> start digging...
> 
> Suggested patch to correct the problem:
> 
> Index: /home/Ryan/apps/gcc-4.5-src/configure.ac
> ===================================================================
> --- /home/Ryan/apps/gcc-4.5-src/configure.ac    (revision 157227)
> +++ /home/Ryan/apps/gcc-4.5-src/configure.ac    (working copy)
> @@ -3221,7 +3221,9 @@
>    [  --with-build-time-tools=PATH
>                            use given path to find target tools during the
> build],
>    [case x"$withval" in
> -     x/*) ;;
> +     x/*)
> +       with_build_time_tools=$withval
> +       ;;
>       *)
>         with_build_time_tools=
>         AC_MSG_WARN([argument to --with-build-time-tools must be an absolute
> path])

Confirming that GCC's configure.ac is still unpatched.

Reply via email to