[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/05: gnu: mumps: Allow compilation with GCC 10.
From: |
guix-commits |
Subject: |
05/05: gnu: mumps: Allow compilation with GCC 10. |
Date: |
Wed, 8 Dec 2021 12:57:28 -0500 (EST) |
civodul pushed a commit to branch core-updates-frozen
in repository guix.
commit 77c8382bb67bd334b3907c246ee064cda4b771ce
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Wed Dec 8 18:42:00 2021 +0100
gnu: mumps: Allow compilation with GCC 10.
Following the suggestion at
<https://community.freefem.org/t/compline-on-macos-10-15-6/543>.
* gnu/packages/maths.scm (mumps)[arguments]: In 'configure' phase, add
'-fallow-argument-mismatch' to 'OPTF'.
---
gnu/packages/maths.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index ea374a4..b025ace 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -3488,7 +3488,7 @@ SCALAP = -Wl,-rpath=$(SCALAPDIR)
-Wl,-rpath='$$ORIGIN' -L$(SCALAPDIR) -lsc
LIBOTHERS = -pthread
CDEFS = -DAdd_
PIC = -fPIC
-OPTF = -O2 -DALLOW_NON_INIT $(PIC)
+OPTF = -O2 -DALLOW_NON_INIT -fallow-argument-mismatch $(PIC)
OPTL = -O2 $(PIC)
OPTC = -O2 $(PIC)
INCS = $(INCSEQ)