gnu: clapack: Pass -fcommon to compiler.
* gnu/packages/maths.scm (clapack)[arguments]: Set CFLAGS.
This commit is contained in:
		
							parent
							
								
									ae0acf6b6d
								
							
						
					
					
						commit
						c13046cb68
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
					@ -932,7 +932,8 @@ problems in numerical linear algebra.")
 | 
				
			||||||
        "0nnap9q1mv14g57dl3vkvxrdr10k5w7zzyxs6rgxhia8q8mphgqb"))))
 | 
					        "0nnap9q1mv14g57dl3vkvxrdr10k5w7zzyxs6rgxhia8q8mphgqb"))))
 | 
				
			||||||
    (build-system cmake-build-system)
 | 
					    (build-system cmake-build-system)
 | 
				
			||||||
    (arguments
 | 
					    (arguments
 | 
				
			||||||
     `(#:phases
 | 
					     `(#:configure-flags '("-DCMAKE_C_FLAGS=-fcommon -O2")
 | 
				
			||||||
 | 
					       #:phases
 | 
				
			||||||
       (modify-phases %standard-phases
 | 
					       (modify-phases %standard-phases
 | 
				
			||||||
         ;; These tests use a lot of stack variables and segfault without
 | 
					         ;; These tests use a lot of stack variables and segfault without
 | 
				
			||||||
         ;; lifting resource limits.
 | 
					         ;; lifting resource limits.
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue