aboutsummaryrefslogtreecommitdiff
path: root/tests/tcg/xtensa/Makefile.softmmu-target
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2019-08-07 16:35:21 +0200
committerAlex Bennée <alex.bennee@linaro.org>2019-09-10 09:38:33 +0100
commit6a9e0ef32a6b519a0c96d3dee5edc1321792c65a (patch)
tree2d4599fa122c7d50031e83c8c1e4f00e33089667 /tests/tcg/xtensa/Makefile.softmmu-target
parenteea2153ea832b2279853df7061fb38c696cc06e2 (diff)
downloadqemu-6a9e0ef32a6b519a0c96d3dee5edc1321792c65a.zip
qemu-6a9e0ef32a6b519a0c96d3dee5edc1321792c65a.tar.gz
qemu-6a9e0ef32a6b519a0c96d3dee5edc1321792c65a.tar.bz2
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/xtensa/Makefile.softmmu-target')
-rw-r--r--tests/tcg/xtensa/Makefile.softmmu-target4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/tcg/xtensa/Makefile.softmmu-target b/tests/tcg/xtensa/Makefile.softmmu-target
index 8212d96..9530cac 100644
--- a/tests/tcg/xtensa/Makefile.softmmu-target
+++ b/tests/tcg/xtensa/Makefile.softmmu-target
@@ -34,9 +34,9 @@ $(XTENSA_USABLE_TESTS): linker.ld macros.inc $(CRT) Makefile.softmmu-target
# special rule for common blobs
%.o: %.S
- $(CC) $(XTENSA_INC) $($*_ASFLAGS) $(ASFLAGS) -c $< -o $@
+ $(CC) $(XTENSA_INC) $($*_ASFLAGS) $(ASFLAGS) $(EXTRA_CFLAGS) -c $< -o $@
%: %.S
- $(CC) $(XTENSA_INC) $(ASFLAGS) $< -o $@ $(LDFLAGS) $(NOSTDFLAGS) $(CRT)
+ $(CC) $(XTENSA_INC) $(ASFLAGS) $(EXTRA_CFLAGS) $< -o $@ $(LDFLAGS) $(NOSTDFLAGS) $(CRT)
endif