]> granicus.if.org Git - clang/commitdiff
Use xcc (instead of clang directly).
authorDaniel Dunbar <daniel@zuster.org>
Thu, 29 Jan 2009 06:20:19 +0000 (06:20 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Thu, 29 Jan 2009 06:20:19 +0000 (06:20 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63279 91177308-0d34-0410-b5e6-96231b3b80d8

utils/ABITest/return-types/Makefile

index 1a993b741be910376c86d339b478fc13c8b2494c..c2c8bc11085e91b0ee25cd6e211e4a627fabde13 100644 (file)
@@ -12,8 +12,8 @@ CFLAGS := -std=gnu99
 
 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 @@ test.%.x.o: test.%.c
        $(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