[Bug ada/81878] --disable-bootstrap --enable-languages=ada fails

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Aug 17 14:36:00 GMT 2017


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

--- Comment #9 from Richard Biener <rguenth at gcc dot gnu.org> ---
Index: Makefile.in
===================================================================
--- 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.


More information about the Gcc-bugs mailing list