aboutsummaryrefslogtreecommitdiff
path: root/tests/tcg/alpha
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/alpha
parenteea2153ea832b2279853df7061fb38c696cc06e2 (diff)
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/alpha')
-rw-r--r--tests/tcg/alpha/Makefile.softmmu-target4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/tcg/alpha/Makefile.softmmu-target b/tests/tcg/alpha/Makefile.softmmu-target
index 3c0f34cc69..09193a62d6 100644
--- a/tests/tcg/alpha/Makefile.softmmu-target
+++ b/tests/tcg/alpha/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=0