summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usr.bin/make/for.c2
-rw-r--r--usr.bin/make/parse.c2
-rw-r--r--usr.bin/make/suff.c4
3 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/make/for.c b/usr.bin/make/for.c
index b035238..8df5471 100644
--- a/usr.bin/make/for.c
+++ b/usr.bin/make/for.c
@@ -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));
diff --git a/usr.bin/make/parse.c b/usr.bin/make/parse.c
index 3e8cb93..47e6db6 100644
--- a/usr.bin/make/parse.c
+++ b/usr.bin/make/parse.c
@@ -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;
diff --git a/usr.bin/make/suff.c b/usr.bin/make/suff.c
index 7aa96f6..6963d4e 100644
--- a/usr.bin/make/suff.c
+++ b/usr.bin/make/suff.c
@@ -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);
OpenPOWER on IntegriCloud