Signed-off-by: Jonathan Wakely <jwak...@redhat.com>

libstdc++-v3/ChangeLog:

        * src/c++98/Makefile.am: Use CXXCOMPILE not LTCXXCOMPILE.
        * src/c++98/Makefile.in: Regenerate.

Tested x86_64-linux. Committed to trunk.

commit 2c351dafcbc871c088ce09ae69bc08871f7df57b
Author: Jonathan Wakely <jwak...@redhat.com>
Date:   Wed Sep 15 21:39:27 2021

    libstdc++: Fix recipes for C++11-compiled files in src/c++98
    
    Signed-off-by: Jonathan Wakely <jwak...@redhat.com>
    
    libstdc++-v3/ChangeLog:
    
            * src/c++98/Makefile.am: Use CXXCOMPILE not LTCXXCOMPILE.
            * src/c++98/Makefile.in: Regenerate.

diff --git a/libstdc++-v3/src/c++98/Makefile.am 
b/libstdc++-v3/src/c++98/Makefile.am
index 0fa6ab95fb4..b48b57a2945 100644
--- a/libstdc++-v3/src/c++98/Makefile.am
+++ b/libstdc++-v3/src/c++98/Makefile.am
@@ -181,11 +181,11 @@ endif
 locale_init.lo: locale_init.cc
        $(LTCXXCOMPILE) -std=gnu++11 -fchar8_t -c $<
 locale_init.o: locale_init.cc
-       $(LTCXXCOMPILE) -std=gnu++11 -fchar8_t -c $<
+       $(CXXCOMPILE) -std=gnu++11 -fchar8_t -c $<
 localename.lo: localename.cc
        $(LTCXXCOMPILE) -std=gnu++11 -fchar8_t -c $<
 localename.o: localename.cc
-       $(LTCXXCOMPILE) -std=gnu++11 -fchar8_t -c $<
+       $(CXXCOMPILE) -std=gnu++11 -fchar8_t -c $<
 
 # Use special rules for the deprecated source files so that they find
 # deprecated include files.

Reply via email to