do like solaris does, explicitly link with -lm, because bomberclone

uses it directly. Fixes link with lld.
This commit is contained in:
espie 2017-11-02 14:29:30 +00:00
parent c18b69c409
commit 25151b4c50

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.12 2017/05/04 21:06:43 espie Exp $
# $OpenBSD: Makefile,v 1.13 2017/11/02 14:29:30 espie Exp $
COMMENT= bomberman clone with multiplayer mode
@ -24,7 +24,7 @@ CONFIGURE_STYLE=gnu
CONFIGURE_ARGS= --disable-debug --disable-werror
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib" \
LIBS="-pthread"
LIBS="-pthread -lm"
CFLAGS += -fgnu89-inline
.include <bsd.port.mk>