]> Git Repo - qemu.git/commit - rules.mak
optionrom: fix detection of -Wa,-32
authorPaolo Bonzini <[email protected]>
Wed, 20 Jul 2016 19:36:49 +0000 (21:36 +0200)
committerPeter Maydell <[email protected]>
Fri, 29 Jul 2016 12:56:52 +0000 (13:56 +0100)
commit036999e93e4913e29cd5fd751750677074e8747e
tree9c19359052993c8c0b87034cb820ca8a33c2f278
parentc7e9aafe5c2fc82858a3026862ac05c33d363ffb
optionrom: fix detection of -Wa,-32

The cc-option macro runs $(CC) in -S mode (generate assembly) to avoid a
pointless run of the assembler.  However, this does not work when you want
to detect support for cc->as option passthrough.  clang ignores -Wa unless
-c is provided, and exits successfully even if the -Wa,-32 option is not
supported.

Reported-by: Stefan Hajnoczi <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Message-id: 1469043409[email protected]
Signed-off-by: Peter Maydell <[email protected]>
pc-bios/optionrom/Makefile
rules.mak
This page took 0.024466 seconds and 4 git commands to generate.