]> Git Repo - qemu.git/commit
build: Use $(CCAS) for compiling .S files
authorRichard Henderson <[email protected]>
Thu, 23 Jun 2016 17:39:18 +0000 (10:39 -0700)
committerRichard Henderson <[email protected]>
Wed, 6 Jul 2016 03:50:11 +0000 (20:50 -0700)
commit5f6f0e27fb242fe985591b16ad604ac52822a0dd
tree43a90cb961dc1b5840958532de22bd699e7c1629
parent791b7d2340cfafcac9af7864343cf23504d57804
build: Use $(CCAS) for compiling .S files

We fail to pass to $(AS) all of the different flags that may be required
for a given set of CFLAGS.  Rather than figuring out the host-specific
mapping, it's better to allow the compiler driver to do that.

However, simply using $(CC) runs afoul of clang trying to build the
option roms.  C.f. 3dd46c78525a30e98c68, wherein we changed from
using $(CC) to using $(AS) in the first place.

Work around this by passing -fno-integrated-as to clang, so that we use
the external assembler, and the clang driver still passes along all of
the options that the assembler might require.

Reviewed-by: Peter Maydell <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>
Message-Id: <1466703558[email protected]>
configure
rules.mak
This page took 0.02508 seconds and 4 git commands to generate.