aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2021-12-05 15:01:08 +0100
committerRicardo Wurmus <rekado@elephly.net>2021-12-05 15:04:04 +0100
commitc13046cb684440a2f8546c3238b1f80e88cf4f72 (patch)
tree4691209d2ee6b1c9b66a96b8289734bb4184edea /gnu/packages
parentae0acf6b6dce5a37fe15f9331843ebbf4560901e (diff)
downloadguix-c13046cb684440a2f8546c3238b1f80e88cf4f72.tar.gz
guix-c13046cb684440a2f8546c3238b1f80e88cf4f72.zip
gnu: clapack: Pass -fcommon to compiler.
* gnu/packages/maths.scm (clapack)[arguments]: Set CFLAGS.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/maths.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index 7e3c4886dd..b04001b594 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -932,7 +932,8 @@ problems in numerical linear algebra.")
"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.