diff options
author | joe <joe@FreeBSD.org> | 2001-06-20 23:21:02 +0000 |
---|---|---|
committer | joe <joe@FreeBSD.org> | 2001-06-20 23:21:02 +0000 |
commit | cfd6d3b0f954ef362c4020af7d0e4577b571f5cc (patch) | |
tree | bd4b5b3b8155f70220612d6581397da22e5fccf8 /usr.sbin/crunch | |
parent | 092b28a542eedc59fe825595f96f582c731b0f41 (diff) | |
download | FreeBSD-src-cfd6d3b0f954ef362c4020af7d0e4577b571f5cc.zip FreeBSD-src-cfd6d3b0f954ef362c4020af7d0e4577b571f5cc.tar.gz |
Use 'LIBS+= ...' instead of 'LIBS= ...' in the generated makefile
so that the user can override libraries at build time. This is
makes it easier to cross-compile crunch builds.
Suggested by: luigi
MFC after: 3 days
Diffstat (limited to 'usr.sbin/crunch')
-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 0dddb08..2b16894 100644 --- a/usr.sbin/crunch/crunchgen/crunchgen.c +++ b/usr.sbin/crunch/crunchgen/crunchgen.c @@ -915,7 +915,7 @@ void top_makefile_rules(FILE *outmk) { prog_t *p; - fprintf(outmk, "LIBS="); + fprintf(outmk, "LIBS+="); output_strlst(outmk, libs); if (makeobj) { |