gnu: moarvm: Fix compiling with gcc 10.
* gnu/packages/perl6.scm (moarvm)[arguments]: Add '-fcommon' to CFLAGS.
This commit is contained in:
		
							parent
							
								
									83bd1b70cc
								
							
						
					
					
						commit
						18ab016be1
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -62,6 +62,7 @@
 | 
			
		|||
           (lambda* (#:key inputs outputs #:allow-other-keys)
 | 
			
		||||
             (let ((out        (assoc-ref outputs "out"))
 | 
			
		||||
                   (pkg-config (assoc-ref inputs "pkg-config")))
 | 
			
		||||
               (setenv "CFLAGS" "-fcommon")
 | 
			
		||||
               (setenv "LDFLAGS" (string-append "-Wl,-rpath=" out "/lib"))
 | 
			
		||||
               (invoke "perl" "Configure.pl"
 | 
			
		||||
                       "--prefix" out
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Reference in a new issue