summaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-08-20 05:12:55 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-08-20 05:12:55 +0000
commita4b62c45189b719fd905255e89baf48659ef87f1 (patch)
treeb08a167be738dc99759de13fce4b07c1ea117f2b /runtime
parenta7f7c258342604016a5a6b66f88f13039f5dfb47 (diff)
downloadllvm-a4b62c45189b719fd905255e89baf48659ef87f1.tar.gz
llvm-a4b62c45189b719fd905255e89baf48659ef87f1.tar.bz2
llvm-a4b62c45189b719fd905255e89baf48659ef87f1.tar.xz
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
Diffstat (limited to 'runtime')
-rw-r--r--runtime/libprofile/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/libprofile/Makefile b/runtime/libprofile/Makefile
index 9f601c4729..f79d42a056 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