public inbox for gcc-cvs@sourceware.org help / color / mirror / Atom feed
From: Jonathan Wakely <redi@gcc.gnu.org> To: gcc-cvs@gcc.gnu.org, libstdc++-cvs@gcc.gnu.org Subject: [gcc r13-5712] libstdc++: Disable building additional archives for freestanding Date: Mon, 6 Feb 2023 14:23:58 +0000 (GMT) [thread overview] Message-ID: <20230206142358.158C23858421@sourceware.org> (raw) https://gcc.gnu.org/g:fb8e29a5fd9cee09110a3a70c2b3645670ab65ee commit r13-5712-gfb8e29a5fd9cee09110a3a70c2b3645670ab65ee Author: Jonathan Wakely <jwakely@redhat.com> Date: Sat Feb 4 00:28:24 2023 +0000 libstdc++: Disable building additional archives for freestanding This doesn't have any effect yet as we never build anything under libstdc++-v3/src for freestanding, but that will change in the next commit. libstdc++-v3/ChangeLog: * src/Makefile.am [GLIBCXX_HOSTED] (SUBDIRS): Do not add filesystem, libbacktrace and experimental. * src/Makefile.in: Regenerate. Diff: --- libstdc++-v3/src/Makefile.am | 10 +++++++++- libstdc++-v3/src/Makefile.in | 14 +++++++++----- 2 files changed, 18 insertions(+), 6 deletions(-) diff --git a/libstdc++-v3/src/Makefile.am b/libstdc++-v3/src/Makefile.am index 53fc3d0a987..97a5363b40a 100644 --- a/libstdc++-v3/src/Makefile.am +++ b/libstdc++-v3/src/Makefile.am @@ -22,6 +22,7 @@ include $(top_srcdir)/fragment.am +if GLIBCXX_HOSTED if ENABLE_FILESYSTEM_TS filesystem_dir = filesystem else @@ -34,8 +35,15 @@ else backtrace_dir = endif +experimental_dir = experimental +else +filesystem_dir = +backtrace_dir = +experimental_dir = +endif + ## Keep this list sync'd with acinclude.m4:GLIBCXX_CONFIGURE. -SUBDIRS = c++98 c++11 c++17 c++20 $(filesystem_dir) $(backtrace_dir) experimental +SUBDIRS = c++98 c++11 c++17 c++20 $(filesystem_dir) $(backtrace_dir) $(experimental_dir) # Cross compiler support. if VTV_CYGMIN diff --git a/libstdc++-v3/src/Makefile.in b/libstdc++-v3/src/Makefile.in index c556d0dee1b..e38b70df9fb 100644 --- a/libstdc++-v3/src/Makefile.in +++ b/libstdc++-v3/src/Makefile.in @@ -482,11 +482,15 @@ WARN_CXXFLAGS = \ # -I/-D flags to pass when compiling. AM_CPPFLAGS = $(GLIBCXX_INCLUDES) $(CPPFLAGS) -@ENABLE_FILESYSTEM_TS_FALSE@filesystem_dir = -@ENABLE_FILESYSTEM_TS_TRUE@filesystem_dir = filesystem -@ENABLE_BACKTRACE_FALSE@backtrace_dir = -@ENABLE_BACKTRACE_TRUE@backtrace_dir = libbacktrace -SUBDIRS = c++98 c++11 c++17 c++20 $(filesystem_dir) $(backtrace_dir) experimental +@ENABLE_FILESYSTEM_TS_FALSE@@GLIBCXX_HOSTED_TRUE@filesystem_dir = +@ENABLE_FILESYSTEM_TS_TRUE@@GLIBCXX_HOSTED_TRUE@filesystem_dir = filesystem +@GLIBCXX_HOSTED_FALSE@filesystem_dir = +@ENABLE_BACKTRACE_FALSE@@GLIBCXX_HOSTED_TRUE@backtrace_dir = +@ENABLE_BACKTRACE_TRUE@@GLIBCXX_HOSTED_TRUE@backtrace_dir = libbacktrace +@GLIBCXX_HOSTED_FALSE@backtrace_dir = +@GLIBCXX_HOSTED_FALSE@experimental_dir = +@GLIBCXX_HOSTED_TRUE@experimental_dir = experimental +SUBDIRS = c++98 c++11 c++17 c++20 $(filesystem_dir) $(backtrace_dir) $(experimental_dir) @VTV_CYGMIN_FALSE@toolexeclib_LTLIBRARIES = libstdc++.la # Cross compiler support.
reply other threads:[~2023-02-06 14:23 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20230206142358.158C23858421@sourceware.org \ --to=redi@gcc.gnu.org \ --cc=gcc-cvs@gcc.gnu.org \ --cc=libstdc++-cvs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).