diff options
author | tijl <tijl@FreeBSD.org> | 2015-06-15 19:48:28 +0000 |
---|---|---|
committer | tijl <tijl@FreeBSD.org> | 2015-06-15 19:48:28 +0000 |
commit | bcc24c48dfa018cddeeb4a98f44e454a5439241f (patch) | |
tree | dd33c2c21015f29004e568017b1babfd28c0d7a3 /usr.sbin | |
parent | 594e07bd1b11504215f7e800f4aad9672c6a14a2 (diff) | |
download | FreeBSD-src-bcc24c48dfa018cddeeb4a98f44e454a5439241f.zip FreeBSD-src-bcc24c48dfa018cddeeb4a98f44e454a5439241f.tar.gz |
Change -Wl,-r back to -r so gcc doesn't pass --relax to the linker on some
architectures.
PR: 200881
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/crunch/crunchgen/crunchgen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/crunch/crunchgen/crunchgen.c b/usr.sbin/crunch/crunchgen/crunchgen.c index 076fe90..79b240f 100644 --- a/usr.sbin/crunch/crunchgen/crunchgen.c +++ b/usr.sbin/crunch/crunchgen/crunchgen.c @@ -1110,7 +1110,7 @@ prog_makefile_rules(FILE *outmk, prog_t *p) fprintf(outmk, " $(%s_LIBS)", p->ident); fprintf(outmk, "\n"); - fprintf(outmk, "\t$(CC) -nostdlib -Wl,-dc -Wl,-r -o %s.lo %s_stub.o $(%s_OBJPATHS)", + fprintf(outmk, "\t$(CC) -nostdlib -Wl,-dc -r -o %s.lo %s_stub.o $(%s_OBJPATHS)", p->name, p->name, p->ident); if (p->libs) fprintf(outmk, " $(%s_LIBS)", p->ident); |