diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2012-02-19 12:05:12 +0000 |
---|---|---|
committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2012-02-19 12:05:12 +0000 |
commit | 273df0b91000d649dee24aab4be0346ada2a9862 (patch) | |
tree | edfa34338e7a82566e8fb9eed6a56084b5ebff7d /configure | |
parent | b0934ab7d811e23bf530371976b8b35f3242169c (diff) | |
download | external_llvm-273df0b91000d649dee24aab4be0346ada2a9862.zip external_llvm-273df0b91000d649dee24aab4be0346ada2a9862.tar.gz external_llvm-273df0b91000d649dee24aab4be0346ada2a9862.tar.bz2 |
autoconf/m4/visibility_inlines_hidden.m4: Tweak for cygwin-g++-4.5.3. It folded conftest regardress of attributge((noinline)) with >=O1 .
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@150920 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -20940,7 +20940,7 @@ ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ex ac_compiler_gnu=$ac_cv_cxx_compiler_gnu oldcxxflags="$CXXFLAGS" - CXXFLAGS="$CXXFLAGS -fvisibility-inlines-hidden -Werror" + CXXFLAGS="$CXXFLAGS -O0 -fvisibility-inlines-hidden -Werror" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF |