Skip to content

Commit

Permalink
Remove error output from configure if CFLAGS is set (r174313).
Browse files Browse the repository at this point in the history
This fixes PR16724.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191289 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
Patrik Hagglund committed Sep 24, 2013
1 parent ecf0fcd commit d4bf7a3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions autoconf/configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit d4bf7a3

Please sign in to comment.