Hack for powerpc64

This commit is contained in:
christos 2016-10-04 14:33:16 +00:00
parent c1aea182bb
commit c610b4a73b
1 changed files with 6 additions and 1 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.9 2013/09/11 23:04:10 joerg Exp $
# $NetBSD: Makefile,v 1.10 2016/10/04 14:33:16 christos Exp $
USE_SHLIBDIR= yes
USE_FORT?= no
@ -35,6 +35,11 @@ LDADD+= -lrumpvfs -lrump -lrumpuser -lpthread
DBG= -g
.endif
# call to `dm_lib_release' lacks nop, can't restore toc; recompile with -fPIC
.if ${MACHINE_ARCH} == "powerpc64"
COPTS.libdm-nbsd-iface.c+= -O0
.endif
.PATH: ${LIBDEVMAPPER_DISTDIR}/
.PATH: ${LIBDEVMAPPER_DISTDIR}/datastruct
.PATH: ${LIBDEVMAPPER_DISTDIR}/mm