commit 2dcd40990f0adaccfdda8643e7c19c31b1166bb8
Author: Andrew Chambers <[email protected]>
AuthorDate: Thu Feb 16 22:36:56 2017 +1300
Commit: Roberto E. Vargas Caballero <[email protected]>
CommitDate: Thu Feb 16 11:08:40 2017 +0100
[test]Force delete libcc.a so scc is actually used to rebuild it.
Doing so found some files that did not actually compile without error
so revert that too.
diff --git a/tests/selfhost.sh b/tests/selfhost.sh
index 50cf328..18ba8c8 100755
--- a/tests/selfhost.sh
+++ b/tests/selfhost.sh
@@ -10,13 +10,13 @@ set -u
unset SCCEXECPATH
selfhostedobj=\
-"lib/debug.o
- lib/die.o
- lib/newitem.o
- lib/xstrdup.o
+"lib/xstrdup.o
lib/xmalloc.o
lib/xcalloc.o
lib/xrealloc.o"
+#lib/newitem.o
+#lib/debug.o
+#lib/die.o
#driver/posix/scc.o
#cc1/error.o
#cc1/stmt.o
@@ -58,7 +58,7 @@ make clean
make PREFIX="$boostrapdir" install
export PATH="$boostrapdir/bin:$PATH"
-rm bin/scc bin/cc*
+rm lib/libcc.a bin/scc bin/cc*
rm $selfhostedobj
make CC=scc tests