blob: dffd82bde35cf3daa7476cc977ff3d4ede8cb66b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
# $NetBSD: hacks.mk,v 1.2 2007/09/25 03:13:01 bjs Exp $
.if !defined(SPIDERMONKEY_HACKS_MK)
SPIDERMONKEY_HACKS_MK= # defined
.include "../../mk/compiler.mk"
.if !empty(CC_VERSION:Mgcc-[34]*)
CFLAGS+= -fno-strict-aliasing
PKG_HACKS+= no-strict-aliasing
.endif
.endif
|