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'.
This commit is contained in:
Ludovic Courtès 2021-12-08 18:42:00 +01:00
parent 3867cb7885
commit 77c8382bb6
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -3488,7 +3488,7 @@ (define-public mumps
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)