From 7d65f50df26e0d54b5b5635fd9076e83cb6d60e9 Mon Sep 17 00:00:00 2001 From: John Criswell Date: Thu, 26 Feb 2004 23:02:25 +0000 Subject: [PATCH] Added support for C++ compilation. Made removing the object files a separate sh command so that it can easily be commented out. llvm-svn: 11888 --- utils/check-each-file | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/utils/check-each-file b/utils/check-each-file index 1f6a8aa065a..bd7633301dc 100755 --- a/utils/check-each-file +++ b/utils/check-each-file @@ -10,7 +10,7 @@ then linker=./link-$program echo "Building $program with llvm-native-gcc" rm -f $program - gmake -s $program CC=llvm-native-gcc + gmake -e $program CC=llvm-native-gcc CXX=llvm-native-gxx echo "Erasing $program and re-linking it" rm -f $program echo "rm -f $program" > $linker @@ -113,7 +113,8 @@ files=`cat $checkfiles` echo "Recompiling everything with llvm-native-gcc" for f in $files do - rm -f $f && gmake $f CC=llvm-native-gcc + rm -f $f + gmake $f CC=llvm-native-gcc CXX=llvm-native-gxx done rm -f $program $linker