Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
}
// Disable the ccache
- if (!(job->flags & PAKFIRE_JOB_CCACHE))
+ if (!pakfire_job_has_flag(job, PAKFIRE_JOB_CCACHE))
build_flags |= PAKFIRE_BUILD_DISABLE_CCACHE;
// Create a new build environment
}
// Set the ccache path (if set)
- if (job->flags & PAKFIRE_JOB_CCACHE) {
+ if (pakfire_job_has_flag(job, PAKFIRE_JOB_CCACHE)) {
if (*job->ccache_path) {
// XXX THIS NEEDS TO BE PREFIXED WITH THE BASE PATH
r = pakfire_build_set_ccache_path(build, job->ccache_path);