How Do I Remove Clang

Thomas D. Dean tomdean at speakeasy.org
Tue May 29 23:19:55 UTC 2012


On 05/29/12 00:49, Matthew Seaman wrote:
>
> Set WITHOUT_CLANG=yes in /etc/src.conf and do a normal buildworld cycle
> plus 'make delete-old'
>
> See src.conf(5) for more details.

This breaks normal make:

 > cat /etc/src.conf
WITHOUT_CLANG="Yes"

 > cat Makefile
# Makefile for nanoBSD kld driver
CC=gcc
KMOD=lcd_socket
SRCS=lcd_socket.c
.include <bsd.kmod.mk>

 > make
"/usr/share/mk/bsd.own.mk", line 458: MK_CLANG can't be set by a user.

Tom Dean


More information about the freebsd-questions mailing list