2007-09-25 05:13:01 +02:00
|
|
|
# $NetBSD: hacks.mk,v 1.2 2007/09/25 03:13:01 bjs Exp $
|
|
|
|
|
2007-09-21 20:06:28 +02:00
|
|
|
.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
|