summaryrefslogtreecommitdiff
path: root/default.c
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>1999-07-08 06:49:52 +0000
committerPaul Smith <psmith@gnu.org>1999-07-08 06:49:52 +0000
commite1d72ad3f1f9fd9dc72b43b7c618230e0c7d190f (patch)
tree9deed22ea903857c11aac5375cc115f8e073a2b9 /default.c
parent012254e81e045cc7af01f3ef0d7b63d9d9b9a0d5 (diff)
downloadgunmake-e1d72ad3f1f9fd9dc72b43b7c618230e0c7d190f.tar.gz
* Added -R / --no-builtin-variables flag.
Diffstat (limited to 'default.c')
-rw-r--r--default.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/default.c b/default.c
index 902909f..1681144 100644
--- a/default.c
+++ b/default.c
@@ -509,6 +509,9 @@ define_default_variables ()
{
register char **s;
+ if (no_builtin_variables_flag)
+ return;
+
for (s = default_variables; *s != 0; s += 2)
(void) define_variable (s[0], strlen (s[0]), s[1], o_default, 1);
}