summaryrefslogtreecommitdiff
path: root/debian/rules2
diff options
context:
space:
mode:
authordoko <doko@6ca36cf4-e1d1-0310-8c6f-e303bb2178ca>2012-04-26 10:25:55 +0000
committerdoko <doko@6ca36cf4-e1d1-0310-8c6f-e303bb2178ca>2012-04-26 10:25:55 +0000
commit4e08e9d8b6673f16ef4e0d9b0e9b6a12feb1b6f9 (patch)
treeb48c47229ec54a7481aa6fe884c7e1bab4cb3f07 /debian/rules2
parent10cd7326254493ad4931912df32f01be5af38c06 (diff)
downloadgcc-47-4e08e9d8b6673f16ef4e0d9b0e9b6a12feb1b6f9.tar.gz
* Don't try to run the libstdc++ testsuite if the C++ frontend isn't built.
git-svn-id: svn://svn.debian.org/svn/gcccvs/branches/sid/gcc-4.7@5988 6ca36cf4-e1d1-0310-8c6f-e303bb2178ca
Diffstat (limited to 'debian/rules2')
-rw-r--r--debian/rules22
1 files changed, 2 insertions, 0 deletions
diff --git a/debian/rules2 b/debian/rules2
index 53b7999..56f8a49 100644
--- a/debian/rules2
+++ b/debian/rules2
@@ -1312,6 +1312,7 @@ $(check_stamp): $(build_stamp) $(build_locale_stamp)
-chmod 755 $(srcdir)/contrib/test_summary
ifneq ($(with_common_libs),yes)
+ ifeq ($(with_cxx),yes)
: # libstdc++6 built from newer gcc-4.x source, run testsuite against the installed lib
sed 's/-L[^ ]*//g' $(buildlibdir)/libstdc++-v3/scripts/testsuite_flags \
@@ -1340,6 +1341,7 @@ ifneq ($(with_common_libs),yes)
echo 'END installed libstdc++-v3 test-summary'
find $(buildlibdir)/libstdc++-v3/testsuite -name '*.log' -o -name '*.sum' \
| xargs -r rm -f
+ endif
endif
ifeq ($(start_logwatch),yes)