summaryrefslogtreecommitdiff
path: root/net/samba/hacks.mk
blob: f72242a513ffb9622fdd6ea1f39585e71cfaa389 (plain)
1
2
3
4
5
6
7
8
# $NetBSD: hacks.mk,v 1.1 2010/03/08 22:19:07 jmmv Exp $

# Enabling PIE results in a 'Unsupported relocation type 6 in non-PLT
# relocations' error under NetBSD/macppc.
.if ${OPSYS} == "NetBSD" && ${MACHINE_ARCH} == "powerpc"
PKG_HACKS+=		pie
CONFIGURE_ARGS+=	--disable-pie
.endif