Alexey Kardashevskiy f80ea9862f configure: Fix -lm test, so that tools can be compiled on hosts that require -lm
The existing test whether "-lm" needs to be included or not is
insufficient as it reports false negative on Fedora20/ppc64.
This happens because sin(0.0) is a constant value which compiler
can safely throw away and therefore there is no need to add "-lm".
As the result, qemu-nbd/qemu-io/qemu-img tools cannot compile.

This adds a global variable and uses it in the test to prevent
from optimization.

Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
[Use Peter's improvement on the test to fool LTO, and remove the
 now useless -lm addition in Makefile.target. - Paolo]
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2014-07-01 10:36:28 +02:00
2014-06-29 19:39:41 +03:00
2014-06-23 11:00:12 -04:00
2014-06-27 11:19:31 +02:00
2014-06-27 12:11:53 +02:00
2014-06-29 15:24:54 +01:00
2014-06-20 23:59:19 +01:00
2014-06-27 09:27:56 -04:00
2014-06-05 16:10:33 +02:00
2014-06-29 18:59:06 +03:00
2014-06-05 16:10:33 +02:00
2014-06-27 09:27:55 -04:00
2014-06-16 13:24:35 +02:00
2014-06-09 15:43:40 +02:00
2014-06-23 11:12:28 -04:00
2014-06-23 11:01:25 -04:00
2014-06-05 16:10:33 +02:00
2014-06-19 18:44:21 +03:00
2014-06-19 16:41:54 +03:00
2014-06-27 09:27:55 -04:00
2014-06-23 11:01:25 -04:00
2014-06-23 19:09:50 +02:00
2014-05-24 00:07:29 +04:00
2014-05-28 17:36:21 +02:00
2014-04-18 10:33:36 +04:00
2014-06-16 17:23:21 +08:00
2014-06-09 15:43:40 +02:00
2014-05-28 14:28:46 +02:00
2014-05-24 00:07:29 +04:00
2014-06-27 10:39:10 +02:00
2014-06-19 18:44:22 +03:00
2014-06-05 16:10:33 +02:00
2014-04-17 20:39:32 +01:00
2014-05-07 16:16:43 +00:00

Read the documentation in qemu-doc.html or on http://wiki.qemu-project.org

- QEMU team
Description
Original Xbox Emulator for Windows, macOS, and Linux (Active Development)
Readme 528 MiB
Languages
C 82.5%
C++ 7%
Python 3.3%
Dylan 2.8%
Shell 1.5%
Other 2.6%