summaryrefslogtreecommitdiff
path: root/lang/gcc46/hacks.mk
blob: 8b0585e6cb2d8309179b2528e1df47ff0b023c6a (plain)
1
2
3
4
5
6
7
8
9
10
# $NetBSD: hacks.mk,v 1.1 2013/04/02 22:31:40 jmcneill Exp $

#
# Avoid -fkeep-inline-functions with NetBSD/arm
#
.if ${OPSYS} == "NetBSD" && ${MACHINE_ARCH} == "arm"
PKG_HACKS+=		netbsd-arm-stage1-fix
USE_LANGUAGES+=		c c++
CONFIGURE_ARGS+=	--enable-build-with-cxx
.endif