From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark H Weaver Subject: Re: Switching to Artifex Ghostscript Date: Mon, 29 May 2017 19:22:18 -0400 Message-ID: <87poerz1sl.fsf@netris.org> References: <20170520205523.GA27152@jasmine> <87k25b5h5d.fsf@fastmail.com> <87vaougxzy.fsf@elephly.net> <87inkr8fui.fsf@gnu.org> <20170529175013.GA13897@jasmine> <874lw3ik3h.fsf@elephly.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49516) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dFTzg-0007Cs-GL for guix-devel@gnu.org; Mon, 29 May 2017 19:22:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dFTzd-0000nV-CH for guix-devel@gnu.org; Mon, 29 May 2017 19:22:36 -0400 Received: from world.peace.net ([50.252.239.5]:41038) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dFTzd-0000nI-7G for guix-devel@gnu.org; Mon, 29 May 2017 19:22:33 -0400 In-Reply-To: <874lw3ik3h.fsf@elephly.net> (Ricardo Wurmus's message of "Mon, 29 May 2017 20:38:58 +0200") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Ricardo Wurmus Cc: guix-devel@gnu.org Ricardo Wurmus writes: > Leo Famulari 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=E2=80=99t we just add =E2=80=9C#:make-flags '("so")=E2=80=9D and a= void 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