shithub: mc

Download patch

ref: 488d30c090a2316c851e6d6d25c0c7c7540cb3a4
parent: e6b4bd6d4dd978dcff47991f162cd0fd9a4beb37
parent: 54f49c3e87788d98f56c68e5c118a0d9983c83e0
author: Ori Bernstein <[email protected]>
date: Thu Dec 25 08:54:37 EST 2014

Merge branch 'master' of git+ssh://git.eigenstate.org/git/ori/mc

Conflicts:
	6/gen.c
	6/locs.c
	6/simp.c

--- a/6/gen.c
+++ b/6/gen.c
@@ -14,7 +14,6 @@
 #include "asm.h"
 #include "../config.h"
 
-
 static int islocal(Node *dcl)
 {
     if (dcl->decl.vis != Visintern)
--- a/mkfile
+++ b/mkfile
@@ -43,7 +43,8 @@
 config.h:
 	echo '#define Instroot "'/'"' > config.h
 	echo '#define Asmcmd {"6a", "-o", NULL}' >> config.h
-	echo '#define Linkcmd {"ar", "ru", NULL}' >> config.h
+	echo '#define Arcmd {"ar", "ru", NULL}' >> config.h
+	echo '#define Ldcmd {"6l", "-l", NULL}' >> config.h
 	echo '#define Symprefix ""' >> config.h
 	echo '#define Defaultasm Plan9' >> config.h