civodul pushed a commit to branch master
in repository guix.

commit 5c4b76ce372899db9d6e85dbadfb168436e0123f
Author: Ludovic Courtès <[email protected]>
AuthorDate: Sat Oct 8 12:23:51 2022 +0200

    gnu: libgme: Do not retain reference on GCC.
    
    This reduces the closure size of libgme from 221MiB to 72MiB.
    
    * gnu/packages/audio.scm (libgme)[arguments]: Add #:configure-flags.
---
 gnu/packages/audio.scm | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index b1a91418da..f57c22240a 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -366,7 +366,12 @@ Linux kernel.")
                 "07857vdkak306d9s5g6fhmjyxk7vijzjhkmqb15s7ihfxx9lx8xb"))))
     (build-system cmake-build-system)
     (arguments
-     '(#:tests? #f))                    ; no check target
+     '(#:tests? #f                                ;no check target
+
+       ;; XXX: Building with '-fsanitize=undefined' leads to embedded C++ STL
+       ;; header file names in libgme.so, meaning that libgme retains a
+       ;; reference to GCC.  Disable UBSAN to avoid that.
+       #:configure-flags '("-DENABLE_UBSAN=OFF")))
     (home-page "https://bitbucket.org/mpyne/game-music-emu";)
     (synopsis "Video game music file playback library")
     (description

Reply via email to