diff options
author | Martin Pool <mbp@sourcefrog.net> | 2025-01-25 07:53:41 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-25 07:53:41 -0800 |
commit | 66bf4c56f6af2243c48748139c078f4f01cd639b (patch) | |
tree | 7c250548b2a2f4a597290aeea19f5653d084ef8e /src/dopt.c | |
parent | 324f752f3fa30f15a44463b683c56f61c66bb3b4 (diff) | |
parent | e873874d49ddc22a5f2d1049d601944e18980556 (diff) |
Merge pull request #531 from wzssyqa/spec-optionHEADorigin/masterorigin/HEADmaster
Add sysroot option and allow -specs option from compiler
Diffstat (limited to 'src/dopt.c')
-rw-r--r-- | src/dopt.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -114,6 +114,8 @@ int opt_lifetime = 0; const char *arg_pid_file = NULL; const char *arg_log_file = NULL; +const char *arg_sysroot = NULL; + int opt_job_lifetime = 0; /* Enumeration values for options that don't have single-letter name. These @@ -181,6 +183,7 @@ const struct poptOption options[] = { #endif { "make-me-a-botnet", 0, POPT_ARG_NONE, &opt_enable_tcp_insecure, 0, 0, 0 }, { "enable-tcp-insecure", 0, POPT_ARG_NONE, &opt_enable_tcp_insecure, 0, 0, 0 }, + { "sysroot", 0, POPT_ARG_STRING, &arg_sysroot, 0, 0, 0 }, { 0, 0, 0, 0, 0, 0, 0 } }; @@ -214,6 +217,7 @@ static void distccd_show_usage(void) " --blacklist=FILE control client access through a blacklist\n" " --whitelist=FILE control client access through a whitelist\n" #endif +" --sysroot=DIR search resource file in this directory\n" " --stats enable statistics reporting via HTTP server\n" " --stats-port PORT TCP port to listen on for statistics requests\n" #ifdef HAVE_AVAHI |