diff options
Diffstat (limited to 'x11/libXaw/hacks.mk')
-rw-r--r-- | x11/libXaw/hacks.mk | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/x11/libXaw/hacks.mk b/x11/libXaw/hacks.mk new file mode 100644 index 00000000000..3f7202cec38 --- /dev/null +++ b/x11/libXaw/hacks.mk @@ -0,0 +1,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 |