From 6b6fb78724869c03394d0e6dc2f50f0777f6d467 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Thu, 7 Apr 2022 18:34:47 +0200 Subject: gnu: glibc: Build with '--strip-debug' instead of '--strip-all'. Fixes . Reported by Denis 'GNUtoo' Carikli . * gnu/packages/base.scm (glibc)[arguments]: Add #:strip-flags. --- gnu/packages/base.scm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'gnu') diff --git a/gnu/packages/base.scm b/gnu/packages/base.scm index f4f6fce6e0..72329dbaf6 100644 --- a/gnu/packages/base.scm +++ b/gnu/packages/base.scm @@ -1,5 +1,5 @@ ;;; GNU Guix --- Functional package management for GNU -;;; Copyright © 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021 Ludovic Courtès +;;; Copyright © 2012-2022 Ludovic Courtès ;;; Copyright © 2014, 2019 Andreas Enge ;;; Copyright © 2012 Nikita Karetnikov ;;; Copyright © 2014, 2015, 2016, 2018 Mark H Weaver @@ -742,6 +742,10 @@ the store.") (guix build utils) (guix build gnu-build-system)) + ;; Strip binaries but preserve the symbol table needed by Valgrind: + ;; . + #:strip-flags '("--strip-debug") + #:configure-flags (list "--sysconfdir=/etc" -- cgit 1.4.1