Index: Makefile.inc1 =================================================================== --- Makefile.inc1 +++ Makefile.inc1 @@ -2187,12 +2187,11 @@ usr.sbin/chown SUBDIR_DEPEND_usr.bin/clang= lib/clang -.if ${MK_CLANG} != "no" -NXBDIRS+= lib/clang -NXBDIRS+= usr.bin/clang -.endif .if ${MK_GCC} != "no" NXBDIRS+= gnu/usr.bin/cc +.elif ${MK_CLANG} != "no" +NXBDIRS+= lib/clang +NXBDIRS+= usr.bin/clang .endif .if ${MK_BINUTILS} != "no" NXBDIRS+= gnu/usr.bin/binutils