summaryrefslogtreecommitdiff
path: root/utils/ABITest
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-01-29 06:20:19 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-01-29 06:20:19 +0000
commit107dc76180733ecf04848a47299748f9755cdb62 (patch)
tree6bb0f9192ce6ffd56204b3daf57de88519878636 /utils/ABITest
parenta2cfd34952204c9a160fe1a5da5ba2f231df891d (diff)
downloadclang-107dc76180733ecf04848a47299748f9755cdb62.tar.gz
clang-107dc76180733ecf04848a47299748f9755cdb62.tar.bz2
clang-107dc76180733ecf04848a47299748f9755cdb62.tar.xz
Use xcc (instead of clang directly).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63279 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/ABITest')
-rw-r--r--utils/ABITest/return-types/Makefile11
1 files changed, 5 insertions, 6 deletions
diff --git a/utils/ABITest/return-types/Makefile b/utils/ABITest/return-types/Makefile
index 1a993b741b..c2c8bc1108 100644
--- a/utils/ABITest/return-types/Makefile
+++ b/utils/ABITest/return-types/Makefile
@@ -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