Allow insertion of pre-processor flags per target
This commit is contained in:
parent
bc85d8b6a3
commit
b256861039
@ -734,8 +734,10 @@ static void _flags_c(Configure * configure, FILE * fp, String * target)
|
|||||||
{
|
{
|
||||||
String const * p;
|
String const * p;
|
||||||
|
|
||||||
fprintf(fp, "%s%s", target, "_CFLAGS = $(CPPFLAGS) $(CFLAGSF)"
|
fprintf(fp, "%s%s", target, "_CFLAGS = $(CPPFLAGS)");
|
||||||
" $(CFLAGS)");
|
if((p = config_get(configure->config, target, "cppflags")) != NULL)
|
||||||
|
fprintf(fp, " %s", p);
|
||||||
|
fprintf(fp, "%s", " $(CFLAGSF) $(CFLAGS)");
|
||||||
if((p = config_get(configure->config, target, "cflags")) != NULL)
|
if((p = config_get(configure->config, target, "cflags")) != NULL)
|
||||||
{
|
{
|
||||||
fprintf(fp, " %s", p);
|
fprintf(fp, " %s", p);
|
||||||
|
Loading…
Reference in New Issue
Block a user