aboutsummaryrefslogtreecommitdiff
path: root/bootstrap/src/Build.hs
diff options
context:
space:
mode:
authorBrad Richardson <everythingfunctional@protonmail.com>2020-12-09 14:51:33 -0600
committerBrad Richardson <everythingfunctional@protonmail.com>2020-12-09 14:51:33 -0600
commit5cb18915d8622fc50bf139382d958a39797845a4 (patch)
treedaddc2a6e99de3daf22993a3480a66e35cfa69d0 /bootstrap/src/Build.hs
parente27befb0031c5743e2ed30ec713a365e754c485d (diff)
downloadfpm-5cb18915d8622fc50bf139382d958a39797845a4.tar.gz
fpm-5cb18915d8622fc50bf139382d958a39797845a4.zip
fix(bootstrap-ifort): make adjustments for ifort's picky command line
Diffstat (limited to 'bootstrap/src/Build.hs')
-rw-r--r--bootstrap/src/Build.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/bootstrap/src/Build.hs b/bootstrap/src/Build.hs
index 8caf0c9..724a1c6 100644
--- a/bootstrap/src/Build.hs
+++ b/bootstrap/src/Build.hs
@@ -108,7 +108,7 @@ buildProgram programDirectory' libraryDirectories sourceExtensions buildDirector
in fileMatcher &?> \(objectFile : _) -> do
need (sourceFile : directDependencies)
cmd compiler
- ["-c", moduleFlag ++ buildDirectory]
+ ["-c", moduleFlag, buildDirectory]
includeFlags
flags
["-o", objectFile, sourceFile]
@@ -160,7 +160,7 @@ buildLibrary libraryDirectory sourceExtensions buildDirectory (CompilerSettings
in fileMatcher &?> \(objectFile : _) -> do
need (sourceFile : directDependencies)
cmd compiler
- ["-c", moduleFlag ++ buildDirectory]
+ ["-c", moduleFlag, buildDirectory]
includeFlags
flags
["-o", objectFile, sourceFile]