mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-12 17:32:19 +00:00
Use -emit-llvm -S to get .ll file output from llvm-gcc
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26397 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
3e88a4d700
commit
74878f4f3a
@ -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…
x
Reference in New Issue
Block a user