libstdc++: Pass CXXFLAGS to check_performance script
[gcc.git] / libstdc++-v3 / testsuite / Makefile.am
index 9cef1e65e1b9649a190b17e88f1aa189ab14399e..2fca179fca4f3a334f2fc5e3bb7392d3b5e296b6 100644 (file)
@@ -182,6 +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)"; \
          ${check_performance_script} ${glibcxx_srcdir} ${glibcxx_builddir})
 
 # Runs the testsuite in debug mode.