blob: d818263d0718d5dedb794f9a127693db6c89b01b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
# $NetBSD: hacks.mk,v 1.1 2004/11/16 22:44:51 jlam Exp $
### [Wed Jul 25 19:42:58 UTC 2001 : jlam]
### Force no optimization (-O0) on NetBSD-1.5.x/m68k machines as there
### appears to be an optimization bug that causes the build to fail
### (pkg/13395). The problem appeared in the original PR on an Amiga
### running NetBSD 1.5.1 and also on a mac68k running NetBSD 1.5.1.
### This workaround was tested on the mac68k system (kindly provided
### by Jon Lindgren).
###
.if !empty(MACHINE_PLATFORM:MNetBSD-1.5*-m68k)
PKG_HACKS+= netbsd-1-5-m68k-codegen
BUILDLINK_TRANSFORM+= rm:-O[0-9]*
.endif
|