llvm.org GIT mirror llvm / 0c5f793
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27361 91177308-0d34-0410-b5e6-96231b3b80d8 Reid Spencer 13 years ago
1 changed file(s) with 4 addition(s) and 4 deletion(s). Raw diff Collapse all Expand all
99 LEVEL = ..
1010 include $(LEVEL)/Makefile.config
1111
12 ifneq ($(wildcard $(LLVMGCCDIR)),)
12 ifneq ($(wildcard $(LLVMGCC)),)
1313 PARALLEL_DIRS := GCCLibraries libdummy libprofile libtrace GC
1414 else
1515 PARALLEL_DIRS :=
1616 install all ::
17 @echo '********' Warning: Your LLVMGCCDIR is set incorrectly. Double-check
17 @echo '********' Warning: Your LLVMGCCDIR is set incorrectly. Check
1818 @echo '********' Warning: llvm/Makefile.config to make sure it matches
19 @echo '********' Warning: the directory where the C front-end is installed,
20 @echo '********' Warning: and re-run configure if it does not.
19 @echo '********' Warning: the directory where the C front-end is
20 @echo '********' Warning: installed,and re-run configure if it does not.
2121 endif
2222
2323 # Disable libprofile: a faulty libtool is generated by autoconf which breaks the