diff options
-rw-r--r-- | lldb/packages/Python/lldbsuite/test/make/Makefile.rules | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/make/Makefile.rules b/lldb/packages/Python/lldbsuite/test/make/Makefile.rules index c8b01845c95..2ad4a486c74 100644 --- a/lldb/packages/Python/lldbsuite/test/make/Makefile.rules +++ b/lldb/packages/Python/lldbsuite/test/make/Makefile.rules @@ -171,15 +171,8 @@ endif # o cxx_compiler # o cxx_linker #---------------------------------------------------------------------- -CC ?= clang -ifeq "$(CC)" "cc" - ifneq "$(shell which clang)" "" - CC = clang - else ifneq "$(shell which clang-3.5)" "" - CC = clang-3.5 - else ifneq "$(shell which gcc)" "" - CC = gcc - endif +ifeq "$(CC)" "" +$(error "C compiler is not specified. Please run tests through lldb-dotest or lit") endif #---------------------------------------------------------------------- |