summaryrefslogtreecommitdiff
path: root/devel/nspr/hacks.mk
blob: 278ba0ad07b77dae9c7e8a448f0c372ad38bf249 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# $NetBSD: hacks.mk,v 1.1 2007/09/25 04:18:26 bjs Exp $

.if !defined(NSPR_HACKS_MK)
NSPR_HACKS_MK=	# defined

.include "../../mk/compiler.mk"

.if !empty(CC_VERSION:Mgcc-[34]*)
CFLAGS+=	-fno-strict-aliasing
PKG_HACKS+=	no-strict-aliasing
.endif

.endif