)]}'
{
  "commit": "953bcd32ae470c4647e94de8548dda5a8f07d82d",
  "tree": "fc13006383c79e49085ee7254408b49f2d91827b",
  "parents": [
    "f79f89f976dc5345090db557fb20d5deba913d9f"
  ],
  "author": {
    "name": "Martin Storsjö",
    "email": "martin@martin.st",
    "time": "Tue Apr 26 23:49:43 2022 +0300"
  },
  "committer": {
    "name": "Martin Storsjö",
    "email": "martin@martin.st",
    "time": "Wed Apr 27 11:45:39 2022 +0300"
  },
  "message": "crt: Fix building lib32+lib64 in parallel\n\nIn 0ad299826ca14987fd53664c1047f4dfe848c3f8, we started passing\n--temp-prefix to dlltool (if supported), to avoid temp file clashes\nwhen running on windows.\n\nWe used the file name portion of the output file path as temp prefix;\ne.g. when building lib64/libuser32.a, we ended up passing\n\"--temp-prefix libuser32\" to dlltool. This avoids the temp file\nclashes on Windows, since there\u0027s no randomness involved in the file\nnames.\n\nHowever, if both lib32 and lib64 are enabled at the same time,\nwe can end up building e.g. lib32/libuser32.a and lib64/libuser32.a\nin parallel, which both would end up with the same temp file prefix,\nwhich then causes build failures.\n\nTherefore, pass the whole output name, minus extension, as temp prefix,\ni.e. passing \"--temp-prefix lib64/libuser32\" as prefix. In practice,\nthis produces the temp object files in the subdirectory, while keeping\ntheir names the same.\n\nFor the practical details of the change; previously this expanded into\na subshell, calling the shell utility \"basename\", which removes both\nleading directories and an optional suffix. Switch this to use the\ngnu make builtin function \"basename\" instead, which keeps the directory\nprefix, but removes any suffixes.\n\nSigned-off-by: Martin Storsjö \u003cmartin@martin.st\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "229a6aa9fbabcc4cc5cbf9084cf0443164e3fa0c",
      "old_mode": 33188,
      "old_path": "mingw-w64-crt/Makefile.am",
      "new_id": "6a283507952dd09cf6300efcc23eec2452b00a88",
      "new_mode": 33188,
      "new_path": "mingw-w64-crt/Makefile.am"
    }
  ]
}
