commit | 57c99ec18e8254742f45aaa2100c0c4357cba6c7 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Fri Mar 29 20:55:54 2019 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Fri Mar 29 21:00:01 2019 +0100 |
tree | 07417795edc9bdce7c5b990c84d1925c38fd82d1 | |
parent | 509a009c5dd06e680bc2fff6ebc45f7f42aaee3e [diff] |
BUILD: makefile: work around another bug in make 3.80 GNU make 3.80 has an issue with calls to functions inside an if block, which is just what we recently introduced to simplify the targets declaration. The fix is easy, it simply consists in assigning the command to a variable inside the if block and evaluating this command after the block. This also makes the code slightly more readable so we can keep compatibility with 3.80 for now. No backport is needed.