pkgsrc/x11/libXt/hacks.mk
bjs 16bb77288b Add patch from GIT to recalculate fd_set more aggressively in
NextEvent.c, as select() can modify it.

Add hacks.mk to build with -fno-strict-aliasing when needed; there
are quite a few warnings about this.  Given this is an important
dependency, IMHO it's better to just disable it.

Bump rev.
2008-01-29 03:37:02 +00:00

13 lines
256 B
Makefile

# $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