c0467bdcdb
-O1 works around in this case.
15 lines
430 B
Makefile
15 lines
430 B
Makefile
# $NetBSD: hacks.mk,v 1.1 2012/08/24 15:04:53 tsutsui Exp $
|
|
|
|
.if !defined(BISON_HACKS_MK)
|
|
BISON_HACKS_MK= defined
|
|
|
|
.include "../../mk/compiler.mk"
|
|
|
|
### gcc-4.5.3 in NetBSD/m68k 6.0_BETA2 gets ICE on compiling mktime.c.
|
|
### -O1 works around in this case.
|
|
.if !empty(MACHINE_PLATFORM:MNetBSD-*-m68k) && !empty(CC_VERSION:Mgcc-4.5.*)
|
|
PKG_HACKS+= optimisation
|
|
BUILDLINK_TRANSFORM+= rename:-O[2s]*:-O1
|
|
.endif
|
|
|
|
.endif # BISON_HACKS_MK
|