Fix build on SunOS.

This commit is contained in:
hans 2011-09-14 17:46:13 +00:00
parent 49a8c3c30b
commit 64171bdc74

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.12 2011/04/22 13:44:45 obache Exp $ # $NetBSD: Makefile,v 1.13 2011/09/14 17:46:13 hans Exp $
DISTNAME= strigi-0.6.4 DISTNAME= strigi-0.6.4
PKGREVISION= 7 PKGREVISION= 7
@ -27,6 +27,8 @@ RT_LIB_SCHED= -lrt
RT_LIB_SCHED= # empty RT_LIB_SCHED= # empty
.endif .endif
LDFLAGS.SunOS+= -mimpure-text
CMAKE_ARGS+= -DENABLE_CPPUNIT=OFF CMAKE_ARGS+= -DENABLE_CPPUNIT=OFF
.if !empty(RT_LIB_SCHED) .if !empty(RT_LIB_SCHED)
# these use sched_setscheduler # these use sched_setscheduler