mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 03:02:36 +01:00
Use -emit-llvm -S to get .ll file output from llvm-gcc
llvm-svn: 26397
This commit is contained in:
parent
792bfd8f28
commit
c306a9bed9
@ -568,7 +568,7 @@ AC_CACHE_CHECK([whether llvm-gcc is sane],[llvm_cv_llvmgcc_sanity],
|
||||
[llvm_cv_llvmgcc_sanity="no"
|
||||
if test -x "$LLVMGCC" ; then
|
||||
cp /dev/null conftest.c
|
||||
"$LLVMGCC" -S -o - conftest.c | grep implementation > /dev/null 2>&1
|
||||
"$LLVMGCC" -emit-llvm -S -o - conftest.c | grep implementation > /dev/null 2>&1
|
||||
if test $? -eq 0 ; then
|
||||
llvm_cv_llvmgcc_sanity="yes"
|
||||
fi
|
||||
|
2
configure
vendored
2
configure
vendored
@ -30613,7 +30613,7 @@ else
|
||||
llvm_cv_llvmgcc_sanity="no"
|
||||
if test -x "$LLVMGCC" ; then
|
||||
cp /dev/null conftest.c
|
||||
"$LLVMGCC" -S -o - conftest.c | grep implementation > /dev/null 2>&1
|
||||
"$LLVMGCC" -emit-llvm -S -o - conftest.c | grep implementation > /dev/null 2>&1
|
||||
if test $? -eq 0 ; then
|
||||
llvm_cv_llvmgcc_sanity="yes"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user