summaryrefslogtreecommitdiffstats
path: root/usr.bin/make/var.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/make/var.c')
-rw-r--r--usr.bin/make/var.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/usr.bin/make/var.c b/usr.bin/make/var.c
index a70acae..077ddbf 100644
--- a/usr.bin/make/var.c
+++ b/usr.bin/make/var.c
@@ -1033,6 +1033,17 @@ Var_Set(const char *name, const char *val, GNode *ctxt)
}
/**
+ * Set the a global name variable to the value.
+ */
+void
+Var_SetGlobal(const char name[], const char value[])
+{
+
+ Var_Set(name, value, VAR_GLOBAL);
+}
+
+
+/**
* Set the VAR_TO_ENV flag on a variable
*/
void
OpenPOWER on IntegriCloud