guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

12/12: gnu: lsh: Build with optimizations.


From: guix-commits
Subject: 12/12: gnu: lsh: Build with optimizations.
Date: Fri, 18 Feb 2022 08:15:59 -0500 (EST)

civodul pushed a commit to branch master
in repository guix.

commit 33ce3f1c866231a3015411fdce18a3e72649e2f6
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Fri Feb 18 11:50:12 2022 +0100

    gnu: lsh: Build with optimizations.
    
    This is a followup to 1cdd6b09c8bc45c1ae5a16f16d5bcf33ab0ceb5e, which
    inadvertently turned off optimizations.
    
    * gnu/packages/ssh.scm (lsh)[arguments]: Add "-O2 -g" next to "-fcommon".
---
 gnu/packages/ssh.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/ssh.scm b/gnu/packages/ssh.scm
index 363ff22e29..8e29968ea7 100644
--- a/gnu/packages/ssh.scm
+++ b/gnu/packages/ssh.scm
@@ -1,5 +1,5 @@
 ;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2012-2021 Ludovic Courtès <ludo@gnu.org>
+;;; Copyright © 2012-2022 Ludovic Courtès <ludo@gnu.org>
 ;;; Copyright © 2013, 2014 Andreas Enge <andreas@enge.fr>
 ;;; Copyright © 2014, 2015, 2016 Mark H Weaver <mhw@netris.org>
 ;;; Copyright © 2015, 2016, 2018, 2019, 2020, 2021, 2022 Efraim Flashner 
<efraim@flashner.co.il>
@@ -631,7 +631,7 @@ basis for almost any application.")
                            "CPPFLAGS=-DHAVE_ARGP_PARSE"
 
                            ;; Fix the build of lsh@2.1 with GCC 10.
-                           "CFLAGS=-fcommon")
+                           "CFLAGS=-O2 -g -fcommon")
        #:phases
        (modify-phases %standard-phases
          (add-after 'unpack 'disable-failing-tests



reply via email to

[Prev in Thread] Current Thread [Next in Thread]