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
This commit is contained in:
Josef Karthauser 2001-06-20 23:21:02 +00:00
parent fbd26f7594
commit d1a97625be
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=78520

View File

@ -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) {