From debbugs-submit-bounces@debbugs.gnu.org Sat May 09 13:18:32 2020 Received: (at 41150) by debbugs.gnu.org; 9 May 2020 17:18:33 +0000 Received: from localhost ([127.0.0.1]:48335 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jXT7Q-00028I-Lk for submit@debbugs.gnu.org; Sat, 09 May 2020 13:18:32 -0400 Received: from eggs.gnu.org ([209.51.188.92]:54744) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jXSrF-0001aN-SE for 41150@debbugs.gnu.org; Sat, 09 May 2020 13:01:50 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:55554) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jXSr9-0001eW-S6; Sat, 09 May 2020 13:01:43 -0400 Received: from [2a01:cb18:832e:5f00:e8d5:b79f:eb28:d981] (port=55274 helo=cervin) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jXSr9-0001Pq-8d; Sat, 09 May 2020 13:01:43 -0400 From: Mathieu Othacehe To: Tobias Geerinckx-Rice via Guix-patches via Subject: Re: [bug#41150] [PATCH] gnu: Add powerstat. References: <20200509151509.11424-1-me@tobias.gr> Date: Sat, 09 May 2020 19:01:40 +0200 In-Reply-To: <20200509151509.11424-1-me@tobias.gr> (Tobias Geerinckx-Rice via Guix-patches via's message of "Sat, 9 May 2020 17:15:09 +0200") Message-ID: <87y2q1yrd7.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 41150 X-Mailman-Approved-At: Sat, 09 May 2020 13:18:30 -0400 Cc: 41150@debbugs.gnu.org, Tobias Geerinckx-Rice X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hey Tobias, > + (arguments > + `(#:make-flags > + (list "CC=gcc" Hard-coding CC this way will prevent cross-compilation. You can have a look to "crda" or "libaio" for examples. As this is a recurring pattern, we should find a way to add it somewhere in the build-system. But for now, the ugly snippet appending target should work :). Otherwise this looks fine! Thanks, Mathieu