From 0282a316388fb4486581276176ba97c6dc97cdba Mon Sep 17 00:00:00 2001 From: Brad Richardson Date: Mon, 30 Nov 2020 20:11:12 -0600 Subject: feat: add -fcoarray=single to default gfortran flags --- bootstrap/src/Fpm.hs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bootstrap/src/Fpm.hs b/bootstrap/src/Fpm.hs index 943393e..9fc1c91 100644 --- a/bootstrap/src/Fpm.hs +++ b/bootstrap/src/Fpm.hs @@ -639,6 +639,7 @@ defineCompilerSettings specifiedFlags compiler release , "-march=native" , "-ffast-math" , "-funroll-loops" + , "-fcoarray=single" ] else [ "-Wall" @@ -650,6 +651,7 @@ defineCompilerSettings specifiedFlags compiler release , "-fbounds-check" , "-fcheck-array-temporaries" , "-fbacktrace" + , "-fcoarray=single" ] fs -> fs in return $ CompilerSettings { compilerSettingsCompiler = compiler -- cgit v1.2.3