aboutsummaryrefslogtreecommitdiff
path: root/bootstrap/src/Fpm.hs
diff options
context:
space:
mode:
authorBrad Richardson <everythingfunctional@protonmail.com>2020-12-01 11:08:20 -0600
committerGitHub <noreply@github.com>2020-12-01 11:08:20 -0600
commit7d320295c6fe56cc767b352bd26f0466aa29ac5c (patch)
treed369e3e5edf8a651c8fe6cc4ab362b0be7e910ba /bootstrap/src/Fpm.hs
parent89198af9fb7a8ab0298d6c69a18846afcbabd14a (diff)
parent0282a316388fb4486581276176ba97c6dc97cdba (diff)
downloadfpm-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/Fpm.hs')
-rw-r--r--bootstrap/src/Fpm.hs2
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