diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-08-20 05:12:55 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-08-20 05:12:55 +0000 |
commit | a4b62c45189b719fd905255e89baf48659ef87f1 (patch) | |
tree | b08a167be738dc99759de13fce4b07c1ea117f2b /runtime/libprofile/Makefile | |
parent | a7f7c258342604016a5a6b66f88f13039f5dfb47 (diff) | |
download | external_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
Diffstat (limited to 'runtime/libprofile/Makefile')
-rw-r--r-- | runtime/libprofile/Makefile | 2 |
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 |