)]}'
{
  "commit": "f80ea9862fed7ca89a672785bdce0e2611f9ba97",
  "tree": "45a86142fb457318c12b712e4dcb3a19552577cb",
  "parents": [
    "424baff549a9c8a7b5e814ce2bcb857d25163468"
  ],
  "author": {
    "name": "Alexey Kardashevskiy",
    "email": "aik@ozlabs.ru",
    "time": "Tue Jul 01 17:30:27 2014 +1000"
  },
  "committer": {
    "name": "Paolo Bonzini",
    "email": "pbonzini@redhat.com",
    "time": "Tue Jul 01 10:36:28 2014 +0200"
  },
  "message": "configure: Fix -lm test, so that tools can be compiled on hosts that require -lm\n\nThe existing test whether \"-lm\" needs to be included or not is\ninsufficient as it reports false negative on Fedora20/ppc64.\nThis happens because sin(0.0) is a constant value which compiler\ncan safely throw away and therefore there is no need to add \"-lm\".\nAs the result, qemu-nbd/qemu-io/qemu-img tools cannot compile.\n\nThis adds a global variable and uses it in the test to prevent\nfrom optimization.\n\nSigned-off-by: Alexey Kardashevskiy \u003caik@ozlabs.ru\u003e\n[Use Peter\u0027s improvement on the test to fool LTO, and remove the\n now useless -lm addition in Makefile.target. - Paolo]\nSigned-off-by: Paolo Bonzini \u003cpbonzini@redhat.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "6089d290dfb31c278c4dd7f887c945e60935f916",
      "old_mode": 33188,
      "old_path": "Makefile.target",
      "new_id": "137d0b05176a25a1b178fce15452dd0d3bcf12b9",
      "new_mode": 33188,
      "new_path": "Makefile.target"
    },
    {
      "type": "modify",
      "old_id": "23ecb37c43511e32e7081fc03319d253716bba47",
      "old_mode": 33261,
      "old_path": "configure",
      "new_id": "ed41eda4d3fc2a5294f7453c56b99bc3f031a7e5",
      "new_mode": 33261,
      "new_path": "configure"
    }
  ]
}
