Fix scipy build with gfortran >= 10 (#3401)

This commit is contained in:
Loïc Estève 2023-01-03 03:20:26 +01:00 committed by GitHub
parent bddcc22dda
commit 84496124d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -358,6 +358,7 @@ def replay_genargs_handle_argument(arg: str) -> str | None:
"-pthread",
# this only applies to compiling fortran code, but we already f2c'd
"-ffixed-form",
"-fallow-argument-mismatch",
# On Mac, we need to omit some darwin-specific arguments
"-bundle", "-undefined", "dynamic_lookup",
# This flag is needed to build numpy with SIMD optimization which we currently disable