summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@kolpackov.net>2009-09-28 12:31:55 +0000
committerBoris Kolpackov <boris@kolpackov.net>2009-09-28 12:31:55 +0000
commit0a91399e471561e72d3240d09cee17e9fec43d3c (patch)
tree507533e9a2622b0b39cf5d0141b71ce1c6c864c4 /main.c
parentc860f3cd8b30af8a0075544e18425041ce4f1868 (diff)
downloadmake-0a91399e471561e72d3240d09cee17e9fec43d3c.tar.gz
Implement the shortest stem first search order for pattern-specific variables and pattern rules.
Diffstat (limited to 'main.c')
-rw-r--r--main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/main.c b/main.c
index f447e573..b79888c0 100644
--- a/main.c
+++ b/main.c
@@ -1120,7 +1120,8 @@ main (int argc, char **argv, char **envp)
/* Set up .FEATURES */
define_variable (".FEATURES", 9,
- "target-specific order-only second-expansion else-if",
+ "target-specific order-only second-expansion else-if"
+ "shortest-stem",
o_default, 0);
#ifndef NO_ARCHIVES
do_variable_definition (NILF, ".FEATURES", "archives",