Do not let ASFLAGS be "(null)" when not defined

This commit is contained in:
Pierre Pronchery 2010-07-04 11:38:53 +00:00
parent 15a7af10ce
commit 4410bd2202

View File

@ -454,7 +454,7 @@ static void _targets_cflags(Configure * configure, FILE * fp)
asf = config_get(configure->config, "", "asflags");
if(as != NULL || asf != NULL)
fprintf(fp, "%s%s%s%s\n", "AS\t= ", as != NULL ? as : "as",
"\nASFLAGS\t= ", asf);
"\nASFLAGS\t= ", asf != NULL ? asf : "");
}
static void _targets_cxxflags(Configure * configure, FILE * fp)