From 2d457ca3c74627fce1934824117c6359efc83605 Mon Sep 17 00:00:00 2001 From: Enji Cooper Date: Sun, 22 Oct 2017 23:36:43 +0000 Subject: [PATCH] Restore gcc 4.8 version check I accidentally broke it when making changes --- share/mk/src.opts.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/mk/src.opts.mk b/share/mk/src.opts.mk index afe28c38190..96b12fb9139 100644 --- a/share/mk/src.opts.mk +++ b/share/mk/src.opts.mk @@ -468,7 +468,7 @@ MK_${var}_SUPPORT:= yes MK_LLDB:= no .endif -.if ${COMPILER_TYPE} == "gcc" +.if ${COMPILER_TYPE} == "gcc" && ${COMPILER_VERSION} >= 40800 # gcc 4.8 and newer supports libc++, so suppress gnuc++ in that case. # while in theory we could build it with that, we don't want to do # that since it creates too much confusion for too little gain. -- 2.45.0