Build with $(CC), not gcc explicitly
[oota-llvm.git] / test / CBackend / Makefile
index 1ad566c63c832021404821725ff6278191411810..5ee4ba741c142826528a8daced08b07909425373 100644 (file)
@@ -15,7 +15,7 @@ all:: $(addprefix Output/, $(TESTS:%.ll=%.to))
 
 
 Output/%.to: Output/%.c
-       gcc -c -W -Wall $< -o $@ || \
+       $(CC) -c -W -Wall $< -o $@ || \
                (rm -f $@; $(FAILURE) $@ )
 
 Output/%.c: %.ll Output/.dir $(LAS) $(LDIS)