[cfe-commits] r63279 - /cfe/trunk/utils/ABITest/return-types/Makefile

Daniel Dunbar daniel at zuster.org
Wed Jan 28 22:20:20 PST 2009


Author: ddunbar
Date: Thu Jan 29 00:20:19 2009
New Revision: 63279

URL: http://llvm.org/viewvc/llvm-project?rev=63279&view=rev
Log:
Use xcc (instead of clang directly).

Modified:
    cfe/trunk/utils/ABITest/return-types/Makefile

Modified: cfe/trunk/utils/ABITest/return-types/Makefile
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/utils/ABITest/return-types/Makefile?rev=63279&r1=63278&r2=63279&view=diff

==============================================================================
--- cfe/trunk/utils/ABITest/return-types/Makefile (original)
+++ cfe/trunk/utils/ABITest/return-types/Makefile Thu Jan 29 00:20:19 2009
@@ -12,8 +12,8 @@
 
 X_COMPILER := llvm-gcc
 X_LL_CFLAGS := -emit-llvm -S
-Y_COMPILER := clang
-Y_LL_CFLAGS := -emit-llvm
+Y_COMPILER := xcc -ccc-clang
+Y_LL_CFLAGS := -emit-llvm -S
 CC := gcc
 
 X_CFLAGS := -m32
@@ -81,15 +81,14 @@
 	$(X_COMPILER) -c $(CFLAGS) $(X_CFLAGS) -o $@ $<
 .PRECIOUS: test.%.y.o
 test.%.y.o: test.%.c
-	$(Y_COMPILER) -S $(CFLAGS) $(Y_CFLAGS) -o $@.s $<
-	as $(Y_CFLAGS) -o $@ $@.s
+	$(Y_COMPILER) -c $(CFLAGS) $(Y_CFLAGS) -o $@ $<
 
 .PRECIOUS: test.%.x.defs
 test.%.x.defs: test.%.a.x.ll
-	grep '^define ' $< > $@
+	-grep '^define ' $< > $@
 .PRECIOUS: test.%.y.defs
 test.%.y.defs: test.%.a.y.ll
-	grep '^define ' $< > $@
+	-grep '^define ' $< > $@
 
 .PRECIOUS: test.%.a.x.ll
 test.%.a.x.ll: test.%.a.c





More information about the cfe-commits mailing list