summaryrefslogtreecommitdiff
path: root/rule.c
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2010-11-06 21:56:23 +0000
committerPaul Smith <psmith@gnu.org>2010-11-06 21:56:23 +0000
commit1208b1e7e0afa6fb5cced1e822fe34008902ef26 (patch)
treefaf87797baba5fae47c98029e5d2c1ec741fb7d1 /rule.c
parentd7ce0c5ad6f863033762858de1e0ce1744ed4391 (diff)
downloadmake-1208b1e7e0afa6fb5cced1e822fe34008902ef26.tar.gz
Improve backslash/newline handling to adhere to POSIX requirements.
Diffstat (limited to 'rule.c')
-rw-r--r--rule.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/rule.c b/rule.c
index a966cc99..3ad38ebe 100644
--- a/rule.c
+++ b/rule.c
@@ -389,6 +389,7 @@ install_pattern_rule (struct pspec *p, int terminal)
anyway because somebody might want to free them later. */
r->cmds->commands = xstrdup (p->commands);
r->cmds->command_lines = 0;
+ r->cmds->recipe_prefix = RECIPEPREFIX_DEFAULT;
}
}