mirror of
https://github.com/qemu/qemu.git
synced 2024-11-26 21:33:40 +08:00
8acc216b95
The VIXL code includes some equality comparisons between signed and unsigned types. Modern gcc and clang do not complain about these, but older versions of gcc such as gcc 4.6.3 do. Since libvixl is an upstream library, the simplest approach is to suppress the warnings by applying -Wno-sign-compare to the relevant files. (GCC 4.6 is not quite yet irrelevant for us; it is the gcc shipped with Ubuntu Precise, for example, which is an LTS release not yet out of its support period.) Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Message-id: 1452604204-27202-1-git-send-email-peter.maydell@linaro.org Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
28 lines
1.1 KiB
Makefile
28 lines
1.1 KiB
Makefile
|
|
common-obj-$(CONFIG_ALPHA_DIS) += alpha.o
|
|
common-obj-$(CONFIG_ARM_DIS) += arm.o
|
|
common-obj-$(CONFIG_ARM_A64_DIS) += arm-a64.o
|
|
common-obj-$(CONFIG_ARM_A64_DIS) += libvixl/
|
|
libvixldir = $(SRC_PATH)/disas/libvixl
|
|
# The -Wno-sign-compare is needed only for gcc 4.6, which complains about
|
|
# some signed-unsigned equality comparisons in libvixl which later gcc
|
|
# versions do not.
|
|
arm-a64.o-cflags := -I$(libvixldir) -Wno-sign-compare
|
|
common-obj-$(CONFIG_CRIS_DIS) += cris.o
|
|
common-obj-$(CONFIG_HPPA_DIS) += hppa.o
|
|
common-obj-$(CONFIG_I386_DIS) += i386.o
|
|
common-obj-$(CONFIG_IA64_DIS) += ia64.o
|
|
common-obj-$(CONFIG_M68K_DIS) += m68k.o
|
|
common-obj-$(CONFIG_MICROBLAZE_DIS) += microblaze.o
|
|
common-obj-$(CONFIG_MIPS_DIS) += mips.o
|
|
common-obj-$(CONFIG_MOXIE_DIS) += moxie.o
|
|
common-obj-$(CONFIG_PPC_DIS) += ppc.o
|
|
common-obj-$(CONFIG_S390_DIS) += s390.o
|
|
common-obj-$(CONFIG_SH4_DIS) += sh4.o
|
|
common-obj-$(CONFIG_SPARC_DIS) += sparc.o
|
|
common-obj-$(CONFIG_LM32_DIS) += lm32.o
|
|
|
|
# TODO: As long as the TCG interpreter and its generated code depend
|
|
# on the QEMU target, we cannot compile the disassembler here.
|
|
#common-obj-$(CONFIG_TCI_DIS) += tci.o
|