Patchwork [1/2] tests/tcg: test_path is not i386 only

login
register
mail settings
Submitter Cornelia Huck
Date Nov. 14, 2012, 1:12 p.m.
Message ID <1352898739-57797-2-git-send-email-cornelia.huck@de.ibm.com>
Download mbox | patch
Permalink /patch/198904/
State New
Headers show

Comments

Cornelia Huck - Nov. 14, 2012, 1:12 p.m.
test_path is supposed to be run for all architectures, so it should
use the main compiler instead of the i386 compiler.

Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
---
 tests/tcg/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Patch

diff --git a/tests/tcg/Makefile b/tests/tcg/Makefile
index 24e3154..2ffa067 100644
--- a/tests/tcg/Makefile
+++ b/tests/tcg/Makefile
@@ -81,10 +81,10 @@  run-test_path: test_path
 # rules to compile tests
 
 test_path: test_path.o
-	$(CC_I386) $(LDFLAGS) -o $@ $^ $(LIBS)
+	$(CC) $(LDFLAGS) -o $@ $^ $(LIBS)
 
 test_path.o: test_path.c
-	$(CC_I386) $(QEMU_INCLUDES) $(GLIB_CFLAGS) $(CFLAGS) -c -o $@ $^
+	$(CC) $(QEMU_INCLUDES) $(GLIB_CFLAGS) $(CFLAGS) -c -o $@ $^
 
 hello-i386: hello-i386.c
 	$(CC_I386) -nostdlib $(CFLAGS) -static $(LDFLAGS) -o $@ $<