mirror of
https://github.com/RPCS3/llvm.git
synced 2024-11-29 06:30:30 +00:00
Fix the definitions of LLVMGCC and LLVMGXX to include the EXEEXT (the
.exe extension) on Cygwin. This fixes the last few remaining Cygwin issues. Thanks to Aaron Gray for tracking this down. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22191 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
628214eb74
commit
c84492c2db
@ -357,11 +357,13 @@ esac
|
||||
AC_SUBST(ETAGSFLAGS,$ETAGSFLAGS)
|
||||
|
||||
if test "$WITH_LLVMGCCDIR" = "default" ; then
|
||||
AC_PATH_PROG(LLVMGCC, [llvm-gcc], [])
|
||||
AC_PATH_PROG(LLVMGXX, [llvm-g++], [])
|
||||
LLVMGCC="llvm-gcc${EXEEXT}"
|
||||
LLVMGXX="llvm-g++${EXEEXT}"
|
||||
AC_PATH_PROG(LLVMGCC, $LLVMGCC, [])
|
||||
AC_PATH_PROG(LLVMGXX, $LLVMGXX, [])
|
||||
else
|
||||
LLVMGCC=$WITH_LLVMGCCDIR/bin/llvm-gcc
|
||||
LLVMGXX=$WITH_LLVMGCCDIR/bin/llvm-g++
|
||||
LLVMGCC="$WITH_LLVMGCCDIR/bin/llvm-gcc${EXEEXT}"
|
||||
LLVMGXX="$WITH_LLVMGCCDIR/bin/llvm-g++${EXEEXT}"
|
||||
AC_SUBST(LLVMGCC,$LLVMGCC)
|
||||
AC_SUBST(LLVMGXX,$LLVMGXX)
|
||||
fi
|
||||
|
14
configure
vendored
14
configure
vendored
@ -24625,8 +24625,10 @@ ETAGSFLAGS=$ETAGSFLAGS
|
||||
|
||||
|
||||
if test "$WITH_LLVMGCCDIR" = "default" ; then
|
||||
# Extract the first word of "llvm-gcc", so it can be a program name with args.
|
||||
set dummy llvm-gcc; ac_word=$2
|
||||
LLVMGCC="llvm-gcc${EXEEXT}"
|
||||
LLVMGXX="llvm-g++${EXEEXT}"
|
||||
# Extract the first word of "$LLVMGCC", so it can be a program name with args.
|
||||
set dummy $LLVMGCC; ac_word=$2
|
||||
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
||||
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
||||
if test "${ac_cv_path_LLVMGCC+set}" = set; then
|
||||
@ -24664,8 +24666,8 @@ else
|
||||
echo "${ECHO_T}no" >&6
|
||||
fi
|
||||
|
||||
# Extract the first word of "llvm-g++", so it can be a program name with args.
|
||||
set dummy llvm-g++; ac_word=$2
|
||||
# Extract the first word of "$LLVMGXX", so it can be a program name with args.
|
||||
set dummy $LLVMGXX; ac_word=$2
|
||||
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
||||
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
||||
if test "${ac_cv_path_LLVMGXX+set}" = set; then
|
||||
@ -24704,8 +24706,8 @@ echo "${ECHO_T}no" >&6
|
||||
fi
|
||||
|
||||
else
|
||||
LLVMGCC=$WITH_LLVMGCCDIR/bin/llvm-gcc
|
||||
LLVMGXX=$WITH_LLVMGCCDIR/bin/llvm-g++
|
||||
LLVMGCC="$WITH_LLVMGCCDIR/bin/llvm-gcc${EXEEXT}"
|
||||
LLVMGXX="$WITH_LLVMGCCDIR/bin/llvm-g++${EXEEXT}"
|
||||
LLVMGCC=$LLVMGCC
|
||||
|
||||
LLVMGXX=$LLVMGXX
|
||||
|
Loading…
Reference in New Issue
Block a user