File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,11 +13,13 @@ define VERSION $maj_ver.$med_ver.$min_ver[expr {$dev_ver ? ".$dev_ver" : ""}]
1313# Add any user options here
1414options {
1515 pkgconfigdir:WHERE => "path to the directory where to install pc files"
16+
1617 with-ldns => "add support for libldns"
1718 with-libarchive.pc => "build with libarchive getting flags via pc files"
1819 with-coverage => "build with llvm coverage support"
1920 with-asan => "build with libasan support"
2021 with-ubsan => "Build with libubsan support"
22+ without-procctl => "build explicitly without procctl hardening"
2123 default-format:txz => "Default compression format: tzst, txz (default), tbz, tar"
2224}
2325
@@ -217,7 +219,11 @@ if {![cc-check-functions __res_query]} {
217219}
218220
219221cc-check-includes link.h machine/endian.h osreldate.h readpassphrase.h \
220- sys/procctl.h sys/statfs.h sys/statvfs.h libutil.h
222+ sys/statfs.h sys/statvfs.h libutil.h
223+
224+ if {![opt-bool without-procctl]} {
225+ cc-check-includes sys/procctl.h
226+ }
221227
222228# for compat
223229cc-check-includes dirent.h
You can’t perform that action at this time.
0 commit comments