qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] 036999: optionrom: fix detection of -Wa, -32


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 036999: optionrom: fix detection of -Wa, -32
Date: Fri, 29 Jul 2016 06:30:03 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 036999e93e4913e29cd5fd751750677074e8747e
      
https://github.com/qemu/qemu/commit/036999e93e4913e29cd5fd751750677074e8747e
  Author: Paolo Bonzini <address@hidden>
  Date:   2016-07-29 (Fri, 29 Jul 2016)

  Changed paths:
    M pc-bios/optionrom/Makefile
    M rules.mak

  Log Message:
  -----------
  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 <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>
Message-id: address@hidden
Signed-off-by: Peter Maydell <address@hidden>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]