summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2013-06-03 15:31:26 +0100
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2013-06-04 12:28:27 +0100
commita942b597feb553eb72d1d984741b35e91c94aae8 (patch)
tree04ae114c6f9226c9937bc22df50b7c71dcff715d /autogen.sh
parentfeb24fdaa4a79ba96caa14b9572e3f1787a51955 (diff)
Avoid having two of the same set of commands run in parallel
A rule like this: _gen/x.c _gen/x.h: prerequisites $(AM_V_GEN)x-generator doesn't consider x.c and x.h together. Instead, it expands to two rules, one to generate x.c and one to generate x.h, which happen to run the same commands. This means that in the worst case, you can end up running x-generator twice in parallel, and they'll race with each other and overwrite or delete each other's output. Based on commit 36c2a545c from telepathy-glib. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=64285 Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk> Reviewed-by: Xavier Claessens <xavier.claessens@collabora.co.uk>
Diffstat (limited to 'autogen.sh')
0 files changed, 0 insertions, 0 deletions