forked from OSchip/llvm-project
Remove error output from configure if CFLAGS is set (r174313).
This fixes PR16724. llvm-svn: 191289
This commit is contained in:
parent
46901f613b
commit
9857847b34
|
@ -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.
|
||||
|
|
|
@ -1992,8 +1992,8 @@ echo "$as_me: error: Already configured in ${srcdir}" >&2;}
|
|||
fi
|
||||
fi
|
||||
|
||||
${CFLAGS=}
|
||||
${CXXFLAGS=}
|
||||
: ${CFLAGS=}
|
||||
: ${CXXFLAGS=}
|
||||
|
||||
ac_ext=c
|
||||
ac_cpp='$CPP $CPPFLAGS'
|
||||
|
|
Loading…
Reference in New Issue