diff options
author | Jakub Jelinek <jakub@redhat.com> | 2011-02-14 17:40:38 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2011-02-14 17:40:38 +0100 |
commit | 49f0e1ba4aa0eafe931e34a0876be7b8df58afde (patch) | |
tree | 8dbb50667125c09a4288e902cc875bf0f2d88bc7 /libquadmath/configure.ac | |
parent | fce0280a9e0f27f270c8c3ed28529fbe209aa132 (diff) | |
download | gcc-49f0e1ba4aa0eafe931e34a0876be7b8df58afde.zip gcc-49f0e1ba4aa0eafe931e34a0876be7b8df58afde.tar.gz gcc-49f0e1ba4aa0eafe931e34a0876be7b8df58afde.tar.bz2 |
configure.ac (HAVE_HIDDEN_VISIBILITY): Test with -Werror in CFLAGS.
* configure.ac (HAVE_HIDDEN_VISIBILITY): Test with -Werror in CFLAGS.
* printf/printf_fp.c: Don't include <alloca.h>.
* printf/quadmath-printf.h (_itoa): Redefine to __quadmath_itoa.
* configure: Regenerated.
From-SVN: r170139
Diffstat (limited to 'libquadmath/configure.ac')
-rw-r--r-- | libquadmath/configure.ac | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libquadmath/configure.ac b/libquadmath/configure.ac index 4bde6ed..9a0f464 100644 --- a/libquadmath/configure.ac +++ b/libquadmath/configure.ac @@ -149,6 +149,8 @@ else fi # Check for hidden visibility (copied from libssp). +saved_CFLAGS="$CFLAGS" +CFLAGS="$CFLAGS -Werror" AC_MSG_CHECKING([whether hidden visibility is supported]) AC_TRY_COMPILE([ void __attribute__((visibility ("hidden"))) bar (void) {}],, @@ -157,6 +159,7 @@ AC_MSG_RESULT($quadmath_hidden) if test x$quadmath_hidden = xyes; then AC_DEFINE([HAVE_HIDDEN_VISIBILITY],[1],[__attribute__((visibility ("hidden"))) supported]) fi +CFLAGS="$saved_CFLAGS" # Check for symbol versioning (copied from libssp). AC_MSG_CHECKING([whether symbol versioning is supported]) |