Partial commit of OpenBSD fixes by Thorsten Glaser and someone else whose
name I don't know, more to follow.
This commit is contained in:
@@ -27,6 +27,10 @@ case "$target" in
|
||||
CFLAGS="$CFLAGS -D__LINUX__"
|
||||
NFLAGS="$NFLAGS -D__LINUX__ -f elf"
|
||||
;;
|
||||
*-*-*openbsd*)
|
||||
CFLAGS="$CFLAGS -D__LINUX__ -D__FreeBSD__"
|
||||
NFLAGS="$NFLAGS -D__LINUX__ -D__FreeBSD__ -D__OpenBSD__ -f aoutb"
|
||||
;;
|
||||
*-*-*bsd*)
|
||||
CFLAGS="$CFLAGS -D__LINUX__ -D__FreeBSD__"
|
||||
NFLAGS="$NFLAGS -D__LINUX__ -D__FreeBSD__ -f elf"
|
||||
@@ -114,6 +118,10 @@ if test x$with_png != xno; then
|
||||
else
|
||||
AC_MSG_RESULT(disabled by user)
|
||||
fi
|
||||
if test x$with_png != xyes; then
|
||||
CFLAGS="$CFLAGS -DNO_PNG"
|
||||
NFLAGS="$NFLAGS -DNO_PNG"
|
||||
fi
|
||||
dnl -- Various debug and optimization option checks
|
||||
|
||||
AC_ARG_ENABLE(debug, [ --enable-debug Build GDB Friendly binary (zsnes-debug) ],debug=yes)
|
||||
|
||||
Reference in New Issue
Block a user