Silenced warnings about -Wchar-subscripts, added /usr/local for NetBSD
This commit is contained in:
parent
7922d54110
commit
12a61af5a2
@ -1,7 +1,7 @@
|
|||||||
AC_DEFUN([LIBBURNIA_SET_FLAGS],
|
AC_DEFUN([LIBBURNIA_SET_FLAGS],
|
||||||
[
|
[
|
||||||
case $target_os in
|
case $target_os in
|
||||||
freebsd*)
|
freebsd* | netbsd*)
|
||||||
LDFLAGS="$LDFLAGS -L/usr/local/lib"
|
LDFLAGS="$LDFLAGS -L/usr/local/lib"
|
||||||
CPPFLAGS="$CPPFLAGS -I/usr/local/include"
|
CPPFLAGS="$CPPFLAGS -I/usr/local/include"
|
||||||
;;
|
;;
|
||||||
|
@ -339,7 +339,7 @@ if test x$enable_debug != xyes; then
|
|||||||
CFLAGS="-DNDEBUG $CFLAGS"
|
CFLAGS="-DNDEBUG $CFLAGS"
|
||||||
else
|
else
|
||||||
if test x$GCC = xyes; then
|
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
|
fi
|
||||||
CFLAGS="-DDEBUG $CFLAGS"
|
CFLAGS="-DDEBUG $CFLAGS"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user