Fix compilation on OpenBSD (bug #250). Patch by eumel.

SVN revision: 39627
This commit is contained in:
Vincent Torri 2009-03-22 13:40:28 +00:00
parent c8702ccfa6
commit 842c9843ec
1 changed files with 4 additions and 1 deletions

View File

@ -281,7 +281,7 @@ if test "x$enable_coverage" = "xyes" ; then
fi
if ! test "${VMIC}" = "x" ; then
EINA_CFLAGS="${EINA_CFLAGS} -Wall -W -Wextra" # -Werror
EINA_CFLAGS="${EINA_CFLAGS} -Wall -W" # -Werror
fi
GCC_MAJOR_VERSION=`$CC -dumpversion | sed "s/\..*//"`
@ -302,6 +302,9 @@ case "${host_os}" in
EINA_LIBS="${EINA_LIBS} -ldl ${EVIL_LIBS} -lm"
lt_enable_auto_import="-Wl,--enable-auto-import"
;;
*openbsd*)
EINA_LIBS="${EINA_LIBS} -lm"
;;
*bsd*)
EINA_LIBS="${EINA_LIBS} -lrt -lm"
;;