me
/
guix
Archived
1
0
Fork 0

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.
master
Ludovic Courtès 2022-10-08 12:23:51 +02:00
parent 4b2b8b31d7
commit 5c4b76ce37
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 6 additions and 1 deletions

View File

@ -366,7 +366,12 @@ Linux kernel.")
"07857vdkak306d9s5g6fhmjyxk7vijzjhkmqb15s7ihfxx9lx8xb")))) "07857vdkak306d9s5g6fhmjyxk7vijzjhkmqb15s7ihfxx9lx8xb"))))
(build-system cmake-build-system) (build-system cmake-build-system)
(arguments (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") (home-page "https://bitbucket.org/mpyne/game-music-emu")
(synopsis "Video game music file playback library") (synopsis "Video game music file playback library")
(description (description