public inbox for libstdc++-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 r11-3756] libstdc++: Adjust variable export in makefile Date: Fri, 9 Oct 2020 13:08:56 +0000 (GMT) [thread overview] Message-ID: <20201009130856.ECFD7386101F@sourceware.org> (raw) https://gcc.gnu.org/g:6ce2cb116af6e0965ff0dd69e7fd1925cf5dc68c commit r11-3756-g6ce2cb116af6e0965ff0dd69e7fd1925cf5dc68c Author: Jonathan Wakely <jwakely@redhat.com> Date: Fri Oct 9 14:07:22 2020 +0100 libstdc++: Adjust variable export in makefile We usually export variables in recipes this way. I'm not sure it's necessary, but it's consistent. libstdc++-v3/ChangeLog: * testsuite/Makefile.am: Set and export variable separately. * testsuite/Makefile.in: Regenerate. Diff: --- libstdc++-v3/testsuite/Makefile.am | 2 +- libstdc++-v3/testsuite/Makefile.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libstdc++-v3/testsuite/Makefile.am b/libstdc++-v3/testsuite/Makefile.am index 2fca179fca4..7b412411bfe 100644 --- a/libstdc++-v3/testsuite/Makefile.am +++ b/libstdc++-v3/testsuite/Makefile.am @@ -182,7 +182,7 @@ check-compile: testsuite_files ${compile_script} check_performance_script=${glibcxx_srcdir}/scripts/check_performance check-performance: testsuite_files_performance ${performance_script} -@(chmod + ${check_performance_script}; \ - export CXXFLAGS="$(CXXFLAGS)"; \ + CXXFLAGS='$(CXXFLAGS)'; export CXXFLAGS; \ ${check_performance_script} ${glibcxx_srcdir} ${glibcxx_builddir}) # Runs the testsuite in debug mode. diff --git a/libstdc++-v3/testsuite/Makefile.in b/libstdc++-v3/testsuite/Makefile.in index 4e829d0e80f..7418680e935 100644 --- a/libstdc++-v3/testsuite/Makefile.in +++ b/libstdc++-v3/testsuite/Makefile.in @@ -703,7 +703,7 @@ check-compile: testsuite_files ${compile_script} ${compile_script} ${glibcxx_srcdir} ${glibcxx_builddir}) check-performance: testsuite_files_performance ${performance_script} -@(chmod + ${check_performance_script}; \ - export CXXFLAGS="$(CXXFLAGS)"; \ + CXXFLAGS='$(CXXFLAGS)'; export CXXFLAGS; \ ${check_performance_script} ${glibcxx_srcdir} ${glibcxx_builddir}) check-debug: site.exp
reply other threads:[~2020-10-09 13:08 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=20201009130856.ECFD7386101F@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).