llvm.org GIT mirror llvm / 3acdc63
For PR1283: Change the llvm-gcc sanity check to look for "target datalayout" instead of "implementation". The implementation keyword is no longer generated by llvm or llvm-gcc. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35451 91177308-0d34-0410-b5e6-96231b3b80d8 Reid Spencer 12 years ago
1 changed file(s) with 2 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
756756 [llvm_cv_llvmgcc_sanity="no"
757757 if test -x "$LLVMGCC" ; then
758758 cp /dev/null conftest.c
759 "$LLVMGCC" -emit-llvm -S -o - conftest.c | grep implementation > /dev/null 2>&1
759 "$LLVMGCC" -emit-llvm -S -o - conftest.c | \
760 grep 'target datalayout =' > /dev/null 2>&1
760761 if test $? -eq 0 ; then
761762 llvm_cv_llvmgcc_sanity="yes"
762763 fi