diff options
author | Ludovic Courtès <ludo@gnu.org> | 2022-10-08 12:23:51 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2022-10-08 12:27:01 +0200 |
commit | 5c4b76ce372899db9d6e85dbadfb168436e0123f (patch) | |
tree | 5ba096635ede22ad967725c1cf1eac19265728d3 /gnu/packages | |
parent | 4b2b8b31d702154334bccbd4fc61adfb5c91c83e (diff) | |
download | guix-5c4b76ce372899db9d6e85dbadfb168436e0123f.tar.gz guix-5c4b76ce372899db9d6e85dbadfb168436e0123f.zip |
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.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/audio.scm | 7 |
1 files changed, 6 insertions, 1 deletions
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 |