diff options
author | Brad Richardson <everythingfunctional@protonmail.com> | 2020-11-30 20:11:12 -0600 |
---|---|---|
committer | Brad Richardson <everythingfunctional@protonmail.com> | 2020-11-30 20:11:12 -0600 |
commit | 0282a316388fb4486581276176ba97c6dc97cdba (patch) | |
tree | 2ba768996484c6493df0322118c43ba469b3c43f /bootstrap/src/Fpm.hs | |
parent | 105644ca8bce711b407e1a15f8f456693f60ff43 (diff) | |
download | fpm-0282a316388fb4486581276176ba97c6dc97cdba.tar.gz fpm-0282a316388fb4486581276176ba97c6dc97cdba.zip |
feat: add -fcoarray=single to default gfortran flags
Diffstat (limited to 'bootstrap/src/Fpm.hs')
-rw-r--r-- | bootstrap/src/Fpm.hs | 2 |
1 files changed, 2 insertions, 0 deletions
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 |