From 6ce2cb116af6e0965ff0dd69e7fd1925cf5dc68c Mon Sep 17 00:00:00 2001 From: Jonathan Wakely Date: Fri, 9 Oct 2020 14:07:22 +0100 Subject: [PATCH] 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. --- 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 -- 2.30.2