shithub: scc

Download patch

ref: 39ebee1972c3affd1e02c59971e77f5425da95d3
parent: 45110f5f227f83965b9a008e52096b45e4b72d12
author: Quentin Rameau <quinq@fifth.space>
date: Mon Dec 12 09:41:16 EST 2016

[driver] link with no-pie until we have our linker

--- a/driver/posix/scc.c
+++ b/driver/posix/scc.c
@@ -119,6 +119,7 @@
 		strcat(t->cmd, t->bin);
 		break;
 	case LD:
+		addarg(tool, "-no-pie");
 		addarg(tool, "-o");
 		t->outfile = outfile ? outfile : xstrdup("a.out");
 		addarg(tool, t->outfile);