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

.if !defined(LIBXT_HACKS_MK)
LIBXT_HACKS_MK=	# defined

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

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

.endif