Ignore -Wcast-align
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Wed, 17 Apr 2013 18:04:53 +0000 (14:04 -0400)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Wed, 17 Apr 2013 18:05:15 +0000 (14:05 -0400)
configure
configure.in

index 51a4688..d6bf0cf 100755 (executable)
--- a/configure
+++ b/configure
@@ -7488,7 +7488,7 @@ $as_echo_n "checking for developer gcc flags... " >&6; }
 
 if test "x$developer" = "xyes"; then
   if test "x$GCC" = "xyes"; then
-    devflags="-Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -W -Wredundant-decls -Wundef -Wformat-y2k -Wno-format-extra-args -Wno-format-zero-length  -Wformat-nonliteral -Wformat-security -Wformat=2 -DWITH_VERIFY_PTR=1"
+    devflags="-Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -W -Wredundant-decls -Wundef -Wformat-y2k -Wno-format-extra-args -Wno-format-zero-length -Wno-cast-align -Wformat-nonliteral -Wformat-security -Wformat=2 -DWITH_VERIFY_PTR=1"
     CFLAGS="$CFLAGS $devflags"
     INSTALLSTRIP=""
     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes.  Using $devflags" >&5
@@ -7591,7 +7591,7 @@ int a = 1;
 _ACEOF
 if ac_fn_c_try_compile "$LINENO"; then :
 
-                    smart_include="-I$try -isystem $try"
+                    smart_include="-I$try"
                     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 $as_echo "yes" >&6; }
                     break
@@ -7686,7 +7686,7 @@ int a = 1;
 _ACEOF
 if ac_fn_c_try_compile "$LINENO"; then :
 
-                    smart_include="-I$try -isystem $try"
+                    smart_include="-I$try"
                     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 $as_echo "yes" >&6; }
                     break
index b6b88cb..027ac3f 100644 (file)
@@ -1003,7 +1003,7 @@ AC_MSG_CHECKING(for developer gcc flags)
 
 if test "x$developer" = "xyes"; then
   if test "x$GCC" = "xyes"; then
-    devflags="-Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -W -Wredundant-decls -Wundef -Wformat-y2k -Wno-format-extra-args -Wno-format-zero-length  -Wformat-nonliteral -Wformat-security -Wformat=2 -DWITH_VERIFY_PTR=1"
+    devflags="-Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -W -Wredundant-decls -Wundef -Wformat-y2k -Wno-format-extra-args -Wno-format-zero-length -Wno-cast-align -Wformat-nonliteral -Wformat-security -Wformat=2 -DWITH_VERIFY_PTR=1"
     CFLAGS="$CFLAGS $devflags"
     INSTALLSTRIP=""
     AC_MSG_RESULT(yes.  Using $devflags)