aboutsummaryrefslogtreecommitdiffstats
path: root/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
commitd4bf7a3853dab12c11cbfc8088fd76f548a8d017 (patch)
treea478ac770bd7b06248d51feda81d8689b98c1b6e /autoconf
parentecf0fcd2b17ccc71b2a7b5849c1416aeb48a9390 (diff)
downloadexternal_llvm-d4bf7a3853dab12c11cbfc8088fd76f548a8d017.zip
external_llvm-d4bf7a3853dab12c11cbfc8088fd76f548a8d017.tar.gz
external_llvm-d4bf7a3853dab12c11cbfc8088fd76f548a8d017.tar.bz2
Remove error output from configure if CFLAGS is set (r174313).
This fixes PR16724. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191289 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'autoconf')
-rw-r--r--autoconf/configure.ac4
1 files changed, 2 insertions, 2 deletions
diff --git a/autoconf/configure.ac b/autoconf/configure.ac
index f9c365c..45f2fe4 100644
--- a/autoconf/configure.ac
+++ b/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.