gnu: freedroidrpg: Fix build with GCC 10.
* gnu/packages/games.scm (freedroidrpg)[arguments]: Add ‘-fcommon’ to #:configure-flags' CFLAGS.
This commit is contained in:
		
							parent
							
								
									10be314cd8
								
							
						
					
					
						commit
						ab5d31c53e
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		|  | @ -1363,6 +1363,7 @@ effects and music to make a completely free game.") | |||
|      `(#:configure-flags | ||||
|        (list | ||||
|         (string-append "CFLAGS=" | ||||
|                        "-fcommon "      ; XXX needed to build with GCC 10 | ||||
|                        "-I" (assoc-ref %build-inputs "sdl-gfx") "/include/SDL " | ||||
|                        "-I" (assoc-ref %build-inputs "sdl-image") "/include/SDL " | ||||
|                        "-I" (assoc-ref %build-inputs "sdl-mixer") "/include/SDL") | ||||
|  |  | |||
		Reference in a new issue