summaryrefslogtreecommitdiffstats
path: root/tests/tcg/aarch64
diff options
context:
space:
mode:
authorPaolo Bonzini2019-08-07 16:35:21 +0200
committerAlex Bennée2019-09-10 10:38:33 +0200
commit6a9e0ef32a6b519a0c96d3dee5edc1321792c65a (patch)
tree2d4599fa122c7d50031e83c8c1e4f00e33089667 /tests/tcg/aarch64
parenttests/docker: fix final missing .encode when parsing solibs (diff)
downloadqemu-6a9e0ef32a6b519a0c96d3dee5edc1321792c65a.tar.gz
qemu-6a9e0ef32a6b519a0c96d3dee5edc1321792c65a.tar.xz
qemu-6a9e0ef32a6b519a0c96d3dee5edc1321792c65a.zip
tests/tcg: use EXTRA_CFLAGS everywhere
For i386 specifically, this allows using the host GCC to compile the i386 tests. But, it should really be done for all targets, unless we want to pass $(EXTRA_CFLAGS) directly as part of $(CC). Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Message-Id: <20190807143523.15917-2-pbonzini@redhat.com> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Diffstat (limited to 'tests/tcg/aarch64')
-rw-r--r--tests/tcg/aarch64/Makefile.softmmu-target4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/tcg/aarch64/Makefile.softmmu-target b/tests/tcg/aarch64/Makefile.softmmu-target
index 2e560e4d08..4c4aaf61dd 100644
--- a/tests/tcg/aarch64/Makefile.softmmu-target
+++ b/tests/tcg/aarch64/Makefile.softmmu-target
@@ -22,11 +22,11 @@ LDFLAGS+=-static -nostdlib $(CRT_OBJS) $(MINILIB_OBJS) -lgcc
.PRECIOUS: $(CRT_OBJS)
%.o: $(CRT_PATH)/%.S
- $(CC) $(CFLAGS) -x assembler-with-cpp -c $< -o $@
+ $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -x assembler-with-cpp -c $< -o $@
# Build and link the tests
%: %.c $(LINK_SCRIPT) $(CRT_OBJS) $(MINILIB_OBJS)
- $(CC) $(CFLAGS) $< -o $@ $(LDFLAGS)
+ $(CC) $(CFLAGS) $(EXTRA_CFLAGS) $< -o $@ $(LDFLAGS)
memory: CFLAGS+=-DCHECK_UNALIGNED=1