summaryrefslogtreecommitdiffstats
path: root/llvm/autoconf
diff options
context:
space:
mode:
authorPatrik Hagglund <patrik.h.hagglund@ericsson.com>2013-09-24 11:38:45 +0000
committerPatrik Hagglund <patrik.h.hagglund@ericsson.com>2013-09-24 11:38:45 +0000
commit9857847b3404e132d5aca0a1160799fbb9e0ff03 (patch)
treebc66045fc6de3919d201353337e8a8f7bf8be9e5 /llvm/autoconf
parent46901f613b905e4b908b3750542f1618f98f1073 (diff)
downloadbcm5719-llvm-9857847b3404e132d5aca0a1160799fbb9e0ff03.tar.gz
bcm5719-llvm-9857847b3404e132d5aca0a1160799fbb9e0ff03.zip
Remove error output from configure if CFLAGS is set (r174313).
This fixes PR16724. llvm-svn: 191289
Diffstat (limited to 'llvm/autoconf')
-rw-r--r--llvm/autoconf/configure.ac4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/autoconf/configure.ac b/llvm/autoconf/configure.ac
index f9c365cb1c3..45f2fe485ec 100644
--- a/llvm/autoconf/configure.ac
+++ b/llvm/autoconf/configure.ac
@@ -61,8 +61,8 @@ fi
dnl Default to empty (i.e. assigning the null string to) CFLAGS and CXXFLAGS,
dnl instead of the autoconf default (for example, '-g -O2' for CC=gcc).
-${CFLAGS=}
-${CXXFLAGS=}
+: ${CFLAGS=}
+: ${CXXFLAGS=}
dnl We need to check for the compiler up here to avoid anything else
dnl starting with a different one.
OpenPOWER on IntegriCloud