libstdc++: Default to C++20 in src/experimental/Makefile.am

r16-7089-gfbde291af66e02 had a stray change to the Makefile.in but
actually we probably should change that directory to use C++20, now that
it's the default. So this updates the Makefile.am, and the Makefile.in
doesn't need to be regenerated now.

libstdc++-v3/ChangeLog:

	* src/experimental/Makefile.am: Change AM_CXXFLAGS to use C++20
	by default.
This commit is contained in:
Jonathan Wakely
2026-01-28 10:27:07 +00:00
committed by Jonathan Wakely
parent f362763f62
commit 833cbd870f

View File

@@ -67,7 +67,7 @@ libstdc__exp_la_DEPENDENCIES = \
# OPTIMIZE_CXXFLAGS on the compile line so that -O2 can be overridden
# as the occasion calls for it.
AM_CXXFLAGS = \
-std=gnu++17 -nostdinc++ \
-std=gnu++20 -nostdinc++ \
$(glibcxx_lt_pic_flag) $(glibcxx_compiler_shared_flag) \
$(XTEMPLATE_FLAGS) $(VTV_CXXFLAGS) \
$(WARN_CXXFLAGS) $(OPTIMIZE_CXXFLAGS) $(CONFIG_CXXFLAGS) \