aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2020-10-09 14:07:22 +0100
committerJonathan Wakely <jwakely@redhat.com>2020-10-09 14:08:42 +0100
commit6ce2cb116af6e0965ff0dd69e7fd1925cf5dc68c (patch)
treef9c5747237cb3de06f28deeb5c3dfd1bf8c68b43
parent7e7eef2a1bb45c61ee26936ccaab7159dcceca94 (diff)
downloadgcc-6ce2cb116af6e0965ff0dd69e7fd1925cf5dc68c.zip
gcc-6ce2cb116af6e0965ff0dd69e7fd1925cf5dc68c.tar.gz
gcc-6ce2cb116af6e0965ff0dd69e7fd1925cf5dc68c.tar.bz2
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.
-rw-r--r--libstdc++-v3/testsuite/Makefile.am2
-rw-r--r--libstdc++-v3/testsuite/Makefile.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/libstdc++-v3/testsuite/Makefile.am b/libstdc++-v3/testsuite/Makefile.am
index 2fca179..7b41241 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 4e829d0..7418680 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