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.
This commit is contained in:
		
							parent
							
								
									4b2b8b31d7
								
							
						
					
					
						commit
						5c4b76ce37
					
				
					 1 changed files with 6 additions and 1 deletions
				
			
		| 
						 | 
					@ -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
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue