pkgsrc/multimedia/libvpx/hacks.mk
tron 97386ba04f Disable compiler optimization under NetBSD/sparc64 because GCC 4.5.3
gets stuck while compiling "vp9/vp9_cx_iface.c".
2014-01-05 13:27:10 +00:00

12 lines
362 B
Makefile

# $NetBSD: hacks.mk,v 1.1 2014/01/05 13:27:10 tron Exp $
### [Sun Jan 5 12:58:28 UTC 2014 : tron]
### GCC 4.5.3 gets stuck while compiline "vp9/vp9_cx_iface.c".
###
.if !empty(MACHINE_PLATFORM:MNetBSD-*-sparc64)
. include "../../mk/compiler.mk"
. if !empty(CC_VERSION:Mgcc*)
PKG_HACKS+= sparc64-gcc-lock-up
BUILDLINK_TRANSFORM+= rm:-O[0-9]*
. endif
.endif