mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-25 12:50:00 +00:00
Fix the "stacker doesn't build without llvm-gcc" problem. The configure
script was defaulting the LLVMGCC variable to "llvm-gcc" if it couldn't find llvm-gcc and --with-llvmgccdir was not specified. In this case, there is no llvm-gcc available on the system so we shouldn't assume that the user's path will find it any better than configure could. The fix is to default it to an empty string. If LLVMGCC is empty, the makefiles will avoid building things that depend on llvm-gcc and give a nice warning message to that effect. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21953 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7dad18b788
commit
15792b0259
@ -354,8 +354,8 @@ esac
|
||||
AC_SUBST(ETAGSFLAGS,$ETAGSFLAGS)
|
||||
|
||||
if test "$WITH_LLVMGCCDIR" = "default" ; then
|
||||
AC_PATH_PROG(LLVMGCC, [llvm-gcc], [llvm-gcc])
|
||||
AC_PATH_PROG(LLVMGXX, [llvm-g++], [llvm-g++])
|
||||
AC_PATH_PROG(LLVMGCC, [llvm-gcc], [])
|
||||
AC_PATH_PROG(LLVMGXX, [llvm-g++], [])
|
||||
else
|
||||
LLVMGCC=$WITH_LLVMGCCDIR/bin/llvm-gcc
|
||||
LLVMGXX=$WITH_LLVMGCCDIR/bin/llvm-g++
|
||||
|
Loading…
Reference in New Issue
Block a user