From 4410bd2202eba34ef63cb5e0e536b9b945b9a793 Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Sun, 4 Jul 2010 11:38:53 +0000 Subject: [PATCH] Do not let ASFLAGS be "(null)" when not defined --- src/makefile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/makefile.c b/src/makefile.c index f3218f0..e7334ae 100644 --- a/src/makefile.c +++ b/src/makefile.c @@ -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)