summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
Diffstat (limited to 'llvm')
-rwxr-xr-xllvm/configure3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/configure b/llvm/configure
index 53b40f1f405..62828ecd783 100755
--- a/llvm/configure
+++ b/llvm/configure
@@ -33440,7 +33440,8 @@ else
llvm_cv_llvmgcc_sanity="no"
if test -x "$LLVMGCC" ; then
cp /dev/null conftest.c
- "$LLVMGCC" -emit-llvm -S -o - conftest.c | grep implementation > /dev/null 2>&1
+ "$LLVMGCC" -emit-llvm -S -o - conftest.c | \
+ grep 'target datalayout =' > /dev/null 2>&1
if test $? -eq 0 ; then
llvm_cv_llvmgcc_sanity="yes"
fi
OpenPOWER on IntegriCloud