shithub: mc

Download patch

ref: 1f34af29ac758ceba1d08cb4f8c0fca41dc35502
parent: 6a4c84b9838aa9344cb531f24c6b402dec92bb71
parent: 71e8fc4ea9aec9f7cbb15424d6f612d636e3656b
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