16bb77288b
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.
13 lines
256 B
Makefile
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
|