From 27d4c79d0e112e6ddef797a69e85578d5351c0d4 Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Tue, 11 Feb 2014 09:28:27 +0100 Subject: [PATCH] Silenced warnings about -Wchar-subscripts, added /usr/local for NetBSD --- acinclude.m4 | 2 +- configure.ac | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/acinclude.m4 b/acinclude.m4 index 417b0e9..dfaa0a0 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 0b57114..ffdcee6 100644 --- a/configure.ac +++ b/configure.ac @@ -140,7 +140,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