From e3320ecc1b5a7eaccc7c9370b2d1b76850f054be Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Mon, 6 Aug 2012 11:44:10 -0700 Subject: [PATCH] Fix compiler warnings --- configure.ac | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index 63833b7..689b6a4 100644 --- a/configure.ac +++ b/configure.ac @@ -66,13 +66,19 @@ if test "x$GCC" = "xyes"; then # Make sure we don't link to libstdc++ CXXFLAGS="$CXXFLAGS -fno-rtti -fno-exceptions" - # Hide inline methods - CXXFLAGS="$CXXFLAGS -fvisibility-inlines-hidden" - # Assorted warnings CXXFLAGS="$CXXFLAGS -Wcast-align" case "$host" in + *-mingw*) + ;; + *) + # Hide inline methods + CXXFLAGS="$CXXFLAGS -fvisibility-inlines-hidden" + ;; + esac + + case "$host" in arm-*-*) # Request byte alignment on arm CXXFLAGS="$CXXFLAGS -mstructure-size-boundary=8" -- 2.7.4