aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.inc1
diff options
context:
space:
mode:
authorConrad Meyer <cem@FreeBSD.org>2020-06-24 17:03:42 +0000
committerConrad Meyer <cem@FreeBSD.org>2020-06-24 17:03:42 +0000
commit0a9ab9f549b413fa2febee9706cf7d4e330f961a (patch)
treead355d54f6114efa21fb324877d058eab32015ec /Makefile.inc1
parent1388cfe1b500db39d4858083f333e50c0f80b5e4 (diff)
downloadsrc-0a9ab9f549b413fa2febee9706cf7d4e330f961a.tar.gz
src-0a9ab9f549b413fa2febee9706cf7d4e330f961a.zip
Add WITH_CLANG_FORMAT option
clang-format is enabled conditional on either WITH_CLANG_EXTRAS or WITH_CLANG_FORMAT. Some sources in libclang are build conditional on either rule, and obviously the clang-format binary itself depends on the rule. clang-format could still use a manual page. Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D25427
Notes
Notes: svn path=/head/; revision=362587
Diffstat (limited to 'Makefile.inc1')
-rw-r--r--Makefile.inc15
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1
index 24af34e701a9..805a42befb48 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -676,7 +676,7 @@ BSARGS= DESTDIR= \
MK_HTML=no NO_LINT=yes MK_MAN=no \
-DNO_PIC MK_PROFILE=no -DNO_SHARED \
-DNO_CPU_CFLAGS MK_WARNS=no MK_CTF=no \
- MK_CLANG_EXTRAS=no MK_CLANG_FULL=no \
+ MK_CLANG_EXTRAS=no MK_CLANG_FORMAT=no MK_CLANG_FULL=no \
MK_LLDB=no MK_RETPOLINE=no MK_TESTS=no \
MK_INCLUDES=yes
@@ -697,7 +697,7 @@ TMAKE= \
SSP_CFLAGS= \
-DNO_LINT \
-DNO_CPU_CFLAGS MK_WARNS=no MK_CTF=no \
- MK_CLANG_EXTRAS=no MK_CLANG_FULL=no \
+ MK_CLANG_EXTRAS=no MK_CLANG_FORMAT=no MK_CLANG_FULL=no \
MK_LLDB=no MK_RETPOLINE=no MK_TESTS=no
# cross-tools stage
@@ -2577,6 +2577,7 @@ NXBMAKEARGS+= \
SSP_CFLAGS= \
MK_CASPER=no \
MK_CLANG_EXTRAS=no \
+ MK_CLANG_FORMAT=no \
MK_CLANG_FULL=no \
MK_CTF=no \
MK_DEBUG_FILES=no \