diff options
author | Brad Richardson <everythingfunctional@protonmail.com> | 2020-12-01 11:08:20 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-01 11:08:20 -0600 |
commit | 7d320295c6fe56cc767b352bd26f0466aa29ac5c (patch) | |
tree | d369e3e5edf8a651c8fe6cc4ab362b0be7e910ba /bootstrap/src | |
parent | 89198af9fb7a8ab0298d6c69a18846afcbabd14a (diff) | |
parent | 0282a316388fb4486581276176ba97c6dc97cdba (diff) | |
download | fpm-7d320295c6fe56cc767b352bd26f0466aa29ac5c.tar.gz fpm-7d320295c6fe56cc767b352bd26f0466aa29ac5c.zip |
Merge pull request #262 from everythingfunctional/add_flag_to_default_set
Add -fcoarray=single to default gfortran flags
Diffstat (limited to 'bootstrap/src')
-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 |