gnu: clapack: Pass -fcommon to compiler.

* gnu/packages/maths.scm (clapack)[arguments]: Set CFLAGS.
This commit is contained in:
Ricardo Wurmus 2021-12-05 15:01:08 +01:00
parent ae0acf6b6d
commit c13046cb68
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -932,7 +932,8 @@ (define-public clapack
"0nnap9q1mv14g57dl3vkvxrdr10k5w7zzyxs6rgxhia8q8mphgqb"))))
(build-system cmake-build-system)
(arguments
`(#:phases
`(#:configure-flags '("-DCMAKE_C_FLAGS=-fcommon -O2")
#:phases
(modify-phases %standard-phases
;; These tests use a lot of stack variables and segfault without
;; lifting resource limits.