From c13046cb684440a2f8546c3238b1f80e88cf4f72 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Sun, 5 Dec 2021 15:01:08 +0100 Subject: gnu: clapack: Pass -fcommon to compiler. * gnu/packages/maths.scm (clapack)[arguments]: Set CFLAGS. --- gnu/packages/maths.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gnu/packages/maths.scm') 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. -- cgit v1.2.3