From 7bec222ecb371a88ba3006837d450e0bee3e397e Mon Sep 17 00:00:00 2001 From: caro Date: Sun, 22 Mar 2009 13:40:28 +0000 Subject: [PATCH] Fix compilation on OpenBSD (bug #250). Patch by eumel. git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@39627 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- configure.ac | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index bee6439..10a3234 100644 --- a/configure.ac +++ b/configure.ac @@ -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" ;; -- 2.7.4