aboutsummaryrefslogtreecommitdiffstats
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
commit6a413b85b58b7fcec2a5212d0bca5c022cfa4310 (patch)
treeb08a167be738dc99759de13fce4b07c1ea117f2b /runtime
parent75e10ba607cf9cdfcf1c7d3f1c1969adf33ea917 (diff)
downloadexternal_llvm-6a413b85b58b7fcec2a5212d0bca5c022cfa4310.zip
external_llvm-6a413b85b58b7fcec2a5212d0bca5c022cfa4310.tar.gz
external_llvm-6a413b85b58b7fcec2a5212d0bca5c022cfa4310.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
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 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