]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
libstdc++: Adjust variable export in makefile
authorJonathan Wakely <jwakely@redhat.com>
Fri, 9 Oct 2020 13:07:22 +0000 (14:07 +0100)
committerJonathan Wakely <jwakely@redhat.com>
Fri, 9 Oct 2020 13:08:42 +0000 (14:08 +0100)
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
libstdc++-v3/testsuite/Makefile.in

index 2fca179fca4f3a334f2fc5e3bb7392d3b5e296b6..7b412411bfeec9982b0da3d343336af5beb683bc 100644 (file)
@@ -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.
index 4e829d0e80fe7ecc916b1187e26177a7e3c61a73..7418680e9356f0195db52f140a358f670fc99c68 100644 (file)
@@ -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