Ricardo Wurmus <rek...@elephly.net> writes:

> Leo Famulari <l...@famulari.name> writes:
>
>> +         (replace 'build
>> +           (lambda _
>> +             ;; Build 'libgs.so', but don't build the statically-linked 'gs'
>> +             ;; binary (saves 22 MiB).
>> +             (zero? (system* "make" "so" "-j"
>> +                             (number->string
>> (parallel-job-count))))))
>
> Couldn’t we just add “#:make-flags '("so")” and avoid replacing the
> build phase?

FWIW, I think it's a bad habit to abuse #:make-flags for targets,
because the contents of #:make-flags is also passed to 'make' during the
'install' and 'check' phases.

IMO, if we want to avoid replacing the build phase in cases like this,
it would be better to add a separate #:build-target argument.

Thoughts?

      Mark

Reply via email to