summaryrefslogtreecommitdiff
path: root/x11/libXaw/hacks.mk
blob: 3f7202cec38d4cef8374799bba9d208641273c9f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# $NetBSD: hacks.mk,v 1.1 2008/01/29 03:57:36 bjs Exp $

.if !defined(LIBXAW_HACKS_MK)
LIBXAW_HACKS_MK=	# defined

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

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

.endif