diff --git a/acinclude.m4 b/acinclude.m4 index 3dabc4b..8652fd9 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -1,7 +1,7 @@ AC_DEFUN([LIBBURNIA_SET_FLAGS], [ case $target_os in -freebsd*) +freebsd* | netbsd*) LDFLAGS="$LDFLAGS -L/usr/local/lib" CPPFLAGS="$CPPFLAGS -I/usr/local/include" ;; diff --git a/configure.ac b/configure.ac index 2f82f1d..1d7f068 100644 --- a/configure.ac +++ b/configure.ac @@ -339,7 +339,7 @@ if test x$enable_debug != xyes; then CFLAGS="-DNDEBUG $CFLAGS" else if test x$GCC = xyes; then - CFLAGS="-g -pedantic -Wall -Wextra -Wno-unused-parameter $CFLAGS" + CFLAGS="-g -pedantic -Wall -Wextra -Wno-unused-parameter -Wno-char-subscripts $CFLAGS" fi CFLAGS="-DDEBUG $CFLAGS" fi