commit cc24d97920153c1ee088cde580553ea50b81313f
parent 8b92118dfdba682911e838d4aa0c02758a2adf9d
Author: Quentin Rameau <quinq@fifth.space>
Date: Mon, 12 Dec 2016 14:41:16 +0100
[driver] link with no-pie until we have our linker
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/driver/posix/scc.c b/driver/posix/scc.c
@@ -119,6 +119,7 @@ inittool(int tool)
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);