Consistently use Var_SetGlobal().
This commit is contained in:
parent
3a6d1fcf9c
commit
cfd6aac638
@ -254,7 +254,7 @@ For_Run(int lineno)
|
||||
|
||||
LST_FOREACH(ln, &values) {
|
||||
val = Lst_Datum(ln);
|
||||
Var_Set(var, val, VAR_GLOBAL);
|
||||
Var_SetGlobal(var, val);
|
||||
|
||||
DEBUGF(FOR, ("--- %s = %s\n", var, val));
|
||||
str = Buf_Peel(Var_SubstOnly(var, Buf_Data(buf), FALSE));
|
||||
|
@ -1076,7 +1076,7 @@ ParseDoDependency(char *line)
|
||||
break;
|
||||
case Posix:
|
||||
is_posix = TRUE;
|
||||
Var_Set("%POSIX", "1003.2", VAR_GLOBAL);
|
||||
Var_SetGlobal("%POSIX", "1003.2");
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
@ -785,11 +785,11 @@ Suff_DoPaths(void)
|
||||
}
|
||||
|
||||
ptr = Path_MakeFlags("-I", &inIncludes);
|
||||
Var_Set(".INCLUDES", ptr, VAR_GLOBAL);
|
||||
Var_SetGlobal(".INCLUDES", ptr);
|
||||
free(ptr);
|
||||
|
||||
ptr = Path_MakeFlags("-L", &inLibs);
|
||||
Var_Set(".LIBS", ptr, VAR_GLOBAL);
|
||||
Var_SetGlobal(".LIBS", ptr);
|
||||
free(ptr);
|
||||
|
||||
Path_Clear(&inIncludes);
|
||||
|
Loading…
Reference in New Issue
Block a user