Read Makefile.config before using LLVMGCC.
See http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20090824/085828.html


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80372 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/runtime/libprofile/Makefile b/runtime/libprofile/Makefile
index f79d42a..92a8558 100644
--- a/runtime/libprofile/Makefile
+++ b/runtime/libprofile/Makefile
@@ -8,6 +8,8 @@
 ##===----------------------------------------------------------------------===##
 
 LEVEL = ../..
+include $(LEVEL)/Makefile.config
+
 ifneq ($(wildcard $(LLVMGCC)),)
 BYTECODE_LIBRARY = 1
 endif