The build system uses -fvisibility=hidden and -fvisibility-inlines-hidden without checking if they are supported. Disable them via BUILDLINK_TRANSFORM for MirBSD. Unbreaks the build.diff -r0 -r1.1 pkgsrc/audio/libaudiofile/hacks.mk
(bsiegert)
# $NetBSD: hacks.mk,v 1.1 2012/07/09 16:42:37 bsiegert Exp $
# gcc in MirBSD does not recognize these options
.if ${OPSYS} == "MirBSD"
BUILDLINK_TRANSFORM+= rm:-fvisibility=hidden rm:-fvisibility-inlines-hidden
.endif