[hackers] [scc] [test]Force delete libcc.a so scc is actually used to rebuild it. || Andrew Chambers

From: <git_AT_suckless.org>
Date: Thu, 16 Feb 2017 11:08:54 +0100 (CET)

commit 2dcd40990f0adaccfdda8643e7c19c31b1166bb8
Author: Andrew Chambers <andrewchamberss_AT_gmail.com>
AuthorDate: Thu Feb 16 22:36:56 2017 +1300
Commit: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
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
_AT_@ -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
_AT_@ -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
Received on Thu Feb 16 2017 - 11:08:54 CET

This archive was generated by hypermail 2.3.0 : Thu Feb 16 2017 - 11:12:18 CET