summaryrefslogtreecommitdiff
path: root/utils/check-each-file
diff options
context:
space:
mode:
authorBrian Gaeke <gaeke@uiuc.edu>2004-02-11 18:52:05 +0000
committerBrian Gaeke <gaeke@uiuc.edu>2004-02-11 18:52:05 +0000
commit0afbc2f511e900e8a3ddfbc8431264a6bf788548 (patch)
tree0f2aafaf4b42da3df668f19a106186e6d4bb1041 /utils/check-each-file
parent421f31764e5ed906890748cf0dafd9afb6a33fb8 (diff)
downloadllvm-0afbc2f511e900e8a3ddfbc8431264a6bf788548.tar.gz
llvm-0afbc2f511e900e8a3ddfbc8431264a6bf788548.tar.bz2
llvm-0afbc2f511e900e8a3ddfbc8431264a6bf788548.tar.xz
Fix bug in initial check - when recompiling everything with llvm-native-gcc,
you have to erase the program and re-run the linker, too, before running the checker. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11328 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/check-each-file')
-rwxr-xr-xutils/check-each-file2
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/check-each-file b/utils/check-each-file
index 7d73f30cc1..1f6a8aa065 100755
--- a/utils/check-each-file
+++ b/utils/check-each-file
@@ -115,6 +115,8 @@ for f in $files
do
rm -f $f && gmake $f CC=llvm-native-gcc
done
+rm -f $program
+$linker
if $checker
then
echo "Sorry, I can't help you, $program is OK when compiled with llvm-native-gcc"