diff options
author | Joel Rosdahl <joel@rosdahl.net> | 2014-11-02 17:26:58 +0100 |
---|---|---|
committer | Joel Rosdahl <joel@rosdahl.net> | 2014-11-02 17:26:58 +0100 |
commit | c6bd92b56f792f4bd7e2df839f75d1f1fc4e4e94 (patch) | |
tree | 1986ccbb8acdf380ef4b63e0cf79a7e5a094a2fd /conf.c | |
parent | 0c5724af62f6f0edece88d4c83bb02b54149e26a (diff) | |
download | ccache-c6bd92b56f792f4bd7e2df839f75d1f1fc4e4e94.tar.gz |
Add "read-only direct" setting
Diffstat (limited to 'conf.c')
-rw-r--r-- | conf.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -319,6 +319,7 @@ conf_create(void) conf->path = x_strdup(""); conf->prefix_command = x_strdup(""); conf->read_only = false; + conf->read_only_direct = false; conf->recache = false; conf->run_second_cpp = false; conf->sloppiness = 0; @@ -583,6 +584,10 @@ conf_print_items(struct conf *conf, reformat(&s, "read_only = %s", bool_to_string(conf->read_only)); printer(s, conf->item_origins[find_conf("read_only")->number], context); + reformat(&s, "read_only_direct = %s", bool_to_string(conf->read_only_direct)); + printer(s, conf->item_origins[find_conf("read_only_direct")->number], + context); + reformat(&s, "recache = %s", bool_to_string(conf->recache)); printer(s, conf->item_origins[find_conf("recache")->number], context); |