aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2011-12-22 22:50:44 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2011-12-22 22:50:44 +0000
commitb8c20b8d78f946a1657825f7e0a48c6ead352ca6 (patch)
tree126300456faeedbc53e888ec756ddb92d1601479 /configure
parent30450e89d94a5d7daa887c7b25a33aa9aa19863c (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-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index 62b2d1cc9b..7c86dbf816 100755
--- a/configure
+++ b/configure
@@ -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 ()
{