From 5c4b76ce372899db9d6e85dbadfb168436e0123f Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Sat, 8 Oct 2022 12:23:51 +0200 Subject: 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(-) (limited to 'gnu') 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 -- cgit v1.2.3