From 33ce3f1c866231a3015411fdce18a3e72649e2f6 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Fri, 18 Feb 2022 11:50:12 +0100 Subject: 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 +;;; Copyright © 2012-2022 Ludovic Courtès ;;; Copyright © 2013, 2014 Andreas Enge ;;; Copyright © 2014, 2015, 2016 Mark H Weaver ;;; Copyright © 2015, 2016, 2018, 2019, 2020, 2021, 2022 Efraim Flashner @@ -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 -- cgit v1.2.3