aboutsummaryrefslogtreecommitdiffstats
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
parenta7f7c258342604016a5a6b66f88f13039f5dfb47 (diff)
downloadexternal_llvm-a4b62c45189b719fd905255e89baf48659ef87f1.zip
external_llvm-a4b62c45189b719fd905255e89baf48659ef87f1.tar.gz
external_llvm-a4b62c45189b719fd905255e89baf48659ef87f1.tar.bz2
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
-rw-r--r--runtime/libprofile/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/libprofile/Makefile b/runtime/libprofile/Makefile
index 9f601c4..f79d42a 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