simh: fix building on debian 9.9.
Need -lm for floor and others. Need -pthread for sem_timedwait.
This commit is contained in:
parent
6a956a0ad2
commit
b64e16070d
1 changed files with 3 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.50 2018/09/24 14:12:28 gson Exp $
|
||||
# $NetBSD: Makefile,v 1.51 2019/06/06 13:02:29 maya Exp $
|
||||
|
||||
DISTNAME= simh-4.0.0
|
||||
PKGNAME= simh-4.0.0.20180919
|
||||
|
@ -34,6 +34,8 @@ CFLAGS+= -fforce-addr
|
|||
CFLAGS.SunOS+= -DBSD_COMP
|
||||
LDFLAGS.SunOS+= -lm
|
||||
|
||||
LDFLAGS.Linux+= -lm -pthread
|
||||
|
||||
INSTALLATION_DIRS= bin share/simh share/doc/simh
|
||||
|
||||
MAKE_FILE= makefile
|
||||
|
|
Loading…
Reference in a new issue