forked from enlightenment/efl
Fix compilation on OpenBSD (bug #250). Patch by eumel.
SVN revision: 39627
This commit is contained in:
parent
c8702ccfa6
commit
842c9843ec
|
@ -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"
|
||||
;;
|
||||
|
|
Loading…
Reference in New Issue