summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2017-01-21 12:40:50 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2017-01-21 12:40:50 +0000
commit86af9277e08aa4db446b87ffe0ff62d0948be078 (patch)
tree53c662433ecaa1ea8a5e361bbb0188589491a9cb
parent2a1c0477c8cf032287391027ea528f92056fe1b3 (diff)
Only build gcc4 libs if COMPILER_VERSION is gcc4.
ok kettenis@ patrick@
-rw-r--r--gnu/lib/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/lib/Makefile b/gnu/lib/Makefile
index 011d152e8e0..8122d17a26b 100644
--- a/gnu/lib/Makefile
+++ b/gnu/lib/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.19 2016/09/01 15:53:21 kettenis Exp $
+# $OpenBSD: Makefile,v 1.20 2017/01/21 12:40:49 jsg Exp $
.include <bsd.own.mk>
@@ -8,7 +8,7 @@ SUBDIR+=libobjc libstdc++ libstdc++-v3 libsupc++-v3 ../usr.bin/cc/libobjc
.else
. if ${COMPILER_VERSION:L} == "gcc3"
SUBDIR+=libobjc libstdc++
-. else
+. elif ${COMPILER_VERSION:L} == "gcc4"
# XXX make sure we build libobjc & libstdc++-v3 from gcc4
SUBDIR+=../usr.bin/cc/libobjc
SUBDIR+=libstdc++-v3 libsupc++-v3