installs clang as /usr/bin/cc, /usr/bin/c++ and /usr/bin/cpp. Note this does *not* disable building and installing gcc, which will still be available as /usr/bin/gcc, /usr/bin/g++ and /usr/bin/gcpp. If you want to disable gcc completely, you must use WITHOUT_GCC. MFC after: 2 weeks
17 lines
237 B
Makefile
17 lines
237 B
Makefile
# $FreeBSD$
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
.include "../Makefile.inc"
|
|
.include "../Makefile.fe"
|
|
|
|
PROG= gcpp
|
|
SRCS+= cppspec.c
|
|
|
|
.if ${MK_CLANG_IS_CC} == "no"
|
|
LINKS= ${BINDIR}/gcpp ${BINDIR}/cpp
|
|
MLINKS= gcpp.1 cpp.1
|
|
.endif
|
|
|
|
.include <bsd.prog.mk>
|