diff options
author | Dmitry V. Levin <ldv@altlinux.org> | 2010-10-04 18:49:14 +0000 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2010-10-04 21:18:09 +0200 |
commit | d8d63ec43ffaeceb916bc8d392b6c25c7714ae9f (patch) | |
tree | 8dcebde71abf97dce6a6fbf4a5bb7a4bd222e573 | |
parent | 6f83f9cabd4ff9140058c7c81fe03741f006596f (diff) | |
download | grep-d8d63ec43ffaeceb916bc8d392b6c25c7714ae9f.tar.gz |
build: compile gnulib without -Wcast-align to avoid warnings on ARM
* configure.ac (GNULIB_WARN_CFLAGS): Remove -Wcast-align.
-rw-r--r-- | configure.ac | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 481ce868..3c282186 100644 --- a/configure.ac +++ b/configure.ac @@ -124,6 +124,7 @@ if test "$gl_gcc_warnings" = yes; then nw="$nw -Wunused-macros" #nw="$nw -Wmissing-prototypes" nw="$nw -Wold-style-definition" + nw="$nw -Wcast-align" gl_MANYWARN_COMPLEMENT([GNULIB_WARN_CFLAGS], [$WARN_CFLAGS], [$nw]) AC_SUBST([GNULIB_WARN_CFLAGS]) fi |