From: Daniel Dunbar Date: Thu, 20 Aug 2009 05:12:55 +0000 (+0000) Subject: Don't try to build .bc version of libprofile if LLVMGCC isn't available. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=a4b62c45189b719fd905255e89baf48659ef87f1;p=oota-llvm.git Don't try to build .bc version of libprofile if LLVMGCC isn't available. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79514 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/runtime/libprofile/Makefile b/runtime/libprofile/Makefile index 9f601c47294..f79d42a0569 100644 --- a/runtime/libprofile/Makefile +++ b/runtime/libprofile/Makefile @@ -8,7 +8,9 @@ ##===----------------------------------------------------------------------===## LEVEL = ../.. +ifneq ($(wildcard $(LLVMGCC)),) BYTECODE_LIBRARY = 1 +endif SHARED_LIBRARY = 1 LOADABLE_MODULE = 1 LIBRARYNAME = profile_rt