summaryrefslogtreecommitdiffstats
path: root/llvm/runtime
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2006-04-02 14:34:26 +0000
committerReid Spencer <rspencer@reidspencer.com>2006-04-02 14:34:26 +0000
commit11dd4b9d9c87681554b01341c0eb9047b5fecb02 (patch)
tree8abc6f5944658eba945d356a106bec875d366ab0 /llvm/runtime
parentacf1fc8a28ff49e82dd32b6420504465721524bd (diff)
downloadbcm5719-llvm-11dd4b9d9c87681554b01341c0eb9047b5fecb02.tar.gz
bcm5719-llvm-11dd4b9d9c87681554b01341c0eb9047b5fecb02.zip
For PR722:
Change the check for llvm-gcc from using LLVMGCCDIR to LLVMGCC. This checks for the actual tool rather than the directory in which the tool resides. In the case of this bug, it is possible that the directory exists but that the tools in that directory do not. This fix should avoid the makefile from erroneously proceeding without the actual tools being available. llvm-svn: 27361
Diffstat (limited to 'llvm/runtime')
-rw-r--r--llvm/runtime/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/runtime/Makefile b/llvm/runtime/Makefile
index 9a448c395ef..a1c0152b75f 100644
--- a/llvm/runtime/Makefile
+++ b/llvm/runtime/Makefile
@@ -10,15 +10,15 @@
LEVEL = ..
include $(LEVEL)/Makefile.config
-ifneq ($(wildcard $(LLVMGCCDIR)),)
+ifneq ($(wildcard $(LLVMGCC)),)
PARALLEL_DIRS := GCCLibraries libdummy libprofile libtrace GC
else
PARALLEL_DIRS :=
install all ::
- @echo '********' Warning: Your LLVMGCCDIR is set incorrectly. Double-check
+ @echo '********' Warning: Your LLVMGCCDIR is set incorrectly. Check
@echo '********' Warning: llvm/Makefile.config to make sure it matches
- @echo '********' Warning: the directory where the C front-end is installed,
- @echo '********' Warning: and re-run configure if it does not.
+ @echo '********' Warning: the directory where the C front-end is
+ @echo '********' Warning: installed,and re-run configure if it does not.
endif
# Disable libprofile: a faulty libtool is generated by autoconf which breaks the
OpenPOWER on IntegriCloud