diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2011-12-22 22:50:44 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2011-12-22 22:50:44 +0000 |
commit | b8c20b8d78f946a1657825f7e0a48c6ead352ca6 (patch) | |
tree | 126300456faeedbc53e888ec756ddb92d1601479 /configure | |
parent | 30450e89d94a5d7daa887c7b25a33aa9aa19863c (diff) |
Attempt #2 to fix mingw crossbuild. This time with more ugly hacks!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@147196 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -20986,14 +20986,14 @@ 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" + CXXFLAGS="$CXXFLAGS -fvisibility-inlines-hidden -Werror" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -template <typename T> struct X { inline void f() {} }; +template <typename T> struct X { void __attribute__((noinline)) f() {} }; int main () { |