From 1ce2adadbb859902a3ad2a87819ee974ae1aa7ea Mon Sep 17 00:00:00 2001 From: dim Date: Wed, 30 Jan 2013 19:51:16 +0000 Subject: Fix a problem introduced in r231057: in bsd.own.mk, move the test for whether clang is enabled to just after the last place where it could have been forced to "no". MFC after: 3 days --- share/mk/bsd.own.mk | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'share') diff --git a/share/mk/bsd.own.mk b/share/mk/bsd.own.mk index a7b270f..8b28602 100644 --- a/share/mk/bsd.own.mk +++ b/share/mk/bsd.own.mk @@ -481,10 +481,6 @@ MK_ZFS:= no MK_CTF:= no .endif -.if ${MK_CLANG} == "no" -MK_CLANG_EXTRAS:= no -.endif - .if ${MK_CRYPT} == "no" MK_OPENSSL:= no MK_OPENSSH:= no @@ -527,6 +523,7 @@ MK_GDB:= no .endif .if ${MK_CLANG} == "no" +MK_CLANG_EXTRAS:= no MK_CLANG_IS_CC:= no .endif -- cgit v1.1