summaryrefslogtreecommitdiff
path: root/variable.c
diff options
context:
space:
mode:
Diffstat (limited to 'variable.c')
-rw-r--r--variable.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/variable.c b/variable.c
index 0b89d37..207b6d8 100644
--- a/variable.c
+++ b/variable.c
@@ -1492,6 +1492,9 @@ parse_variable_definition (const char *p, struct variable *var)
switch (c)
{
case ':':
+ /* In sunmake mode ":=" is not a variable assignment. */
+ if (sun_flag)
+ return NULL;
var->flavor = f_simple;
break;
case '+':