mirror of
https://github.com/opnsense/src.git
synced 2026-02-10 22:35:04 -05:00
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
16 lines
237 B
Makefile
16 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>
|