summaryrefslogtreecommitdiff
path: root/gnu/lib/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/lib/Makefile')
-rw-r--r--gnu/lib/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/gnu/lib/Makefile b/gnu/lib/Makefile
index 5aa9429368e..2fdfd6dc03a 100644
--- a/gnu/lib/Makefile
+++ b/gnu/lib/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.17 2013/08/06 19:11:53 miod Exp $
+# $OpenBSD: Makefile,v 1.18 2016/09/01 11:03:09 patrick Exp $
.include <bsd.own.mk>
@@ -10,7 +10,10 @@ SUBDIR+=libobjc libstdc++ libstdc++-v3 libsupc++-v3 ../usr.bin/cc/libobjc
SUBDIR+=libobjc libstdc++
. else
# XXX make sure we build libobjc & libstdc++-v3 from gcc4
+# XXX arm: libocj from gcc 4.2.1 does not build with ARM EHABI
+. if ${MACHINE_ARCH} != "arm"
SUBDIR+=../usr.bin/cc/libobjc
+. endif
SUBDIR+=libstdc++-v3 libsupc++-v3
. endif
.endif