summaryrefslogtreecommitdiff
path: root/lang/gcc46/hacks.mk
diff options
context:
space:
mode:
Diffstat (limited to 'lang/gcc46/hacks.mk')
-rw-r--r--lang/gcc46/hacks.mk10
1 files changed, 10 insertions, 0 deletions
diff --git a/lang/gcc46/hacks.mk b/lang/gcc46/hacks.mk
new file mode 100644
index 00000000000..8b0585e6cb2
--- /dev/null
+++ b/lang/gcc46/hacks.mk
@@ -0,0 +1,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