summaryrefslogtreecommitdiff
path: root/net/samba30/hacks.mk
blob: 4d0cf335298488afa6786a4b4921e16da61a41d4 (plain)
1
2
3
4
5
6
7
8
# $NetBSD: hacks.mk,v 1.1.1.1 2011/12/15 22:23:24 asau 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