Don't try to build .bc version of libprofile if LLVMGCC isn't available.
authorDaniel Dunbar <daniel@zuster.org>
Thu, 20 Aug 2009 05:12:55 +0000 (05:12 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Thu, 20 Aug 2009 05:12:55 +0000 (05:12 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79514 91177308-0d34-0410-b5e6-96231b3b80d8

runtime/libprofile/Makefile

index 9f601c47294e29239667c631b4645eb117dc86d4..f79d42a05695d6d875c4098e7660ba2fdd2d7230 100644 (file)
@@ -8,7 +8,9 @@
 ##===----------------------------------------------------------------------===##
 
 LEVEL = ../..
+ifneq ($(wildcard $(LLVMGCC)),)
 BYTECODE_LIBRARY = 1
+endif
 SHARED_LIBRARY = 1
 LOADABLE_MODULE = 1
 LIBRARYNAME = profile_rt