This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ada/81878] --disable-bootstrap --enable-languages=ada fails
- From: "ebotcazou at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 17 Aug 2017 12:52:08 +0000
- Subject: [Bug ada/81878] --disable-bootstrap --enable-languages=ada fails
- Auto-submitted: auto-generated
- References: <bug-81878-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81878
--- Comment #11 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
> ===================================================================
> --- Makefile.in (revision 251140)
> +++ Makefile.in (working copy)
> @@ -78,7 +78,7 @@ CXX_LFLAGS = \
> # Variables for gnattools, native
> TOOLS_FLAGS_TO_PASS_NATIVE= \
> "CC=../../xgcc -B../../" \
> - "CXX=../../xg++ -B../../ $(CXX_LFLAGS)" \
> + "CXX=$(CXX)" \
> "CFLAGS=$(CFLAGS) $(WARN_CFLAGS)" \
> "LDFLAGS=$(LDFLAGS)" \
> "ADAFLAGS=$(ADAFLAGS)" \
> @@ -96,7 +96,7 @@ TOOLS_FLAGS_TO_PASS_NATIVE= \
> # Variables for regnattools
> TOOLS_FLAGS_TO_PASS_RE= \
> "CC=../../xgcc -B../../" \
> - "CXX=../../xg++ -B../../ $(CXX_LFLAGS)" \
> + "CXX=$(CXX)" \
> "CFLAGS=$(CFLAGS)" \
> "LDFLAGS=$(LDFLAGS)" \
> "ADAFLAGS=$(ADAFLAGS)" \
>
> seems to work for me, both bootstrap and --disable-bootstrap.
The patch is OK with me if you remove CXX_LFLAGS too.