File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ options {
1818 with-coverage => "build with llvm coverage support"
1919 with-asan => "build with libasan support"
2020 with-ubsan => "Build with libubsan support"
21+ without-procctl => "build explicitly without procctl hardening"
2122 default-format:txz => "Default compression format: tzst, txz (default), tbz, tar"
2223}
2324
@@ -217,7 +218,11 @@ if {![cc-check-functions __res_query]} {
217218}
218219
219220cc-check-includes link.h machine/endian.h osreldate.h readpassphrase.h \
220- sys/procctl.h sys/statfs.h sys/statvfs.h libutil.h
221+ sys/statfs.h sys/statvfs.h libutil.h
222+
223+ if {![opt-bool without-procctl]} {
224+ cc-check-includes sys/procctl.h
225+ }
221226
222227# for compat
223228cc-check-includes dirent.h
You can’t perform that action at this time.
0 commit comments