[commit: ghc] wip/nfs-locking: Pass conf-cc-args-stageN to Gcc builder. (0e27bf4)
git at git.haskell.org
git at git.haskell.org
Fri Oct 27 00:07:26 UTC 2017
Repository : ssh://git@git.haskell.org/ghc
On branch : wip/nfs-locking
Link : http://ghc.haskell.org/trac/ghc/changeset/0e27bf4172aa629796af44dfe3642967eace1dba/ghc
>---------------------------------------------------------------
commit 0e27bf4172aa629796af44dfe3642967eace1dba
Author: Andrey Mokhov <andrey.mokhov at gmail.com>
Date: Mon Apr 11 23:18:19 2016 +0100
Pass conf-cc-args-stageN to Gcc builder.
See #221.
>---------------------------------------------------------------
0e27bf4172aa629796af44dfe3642967eace1dba
src/Settings/Builders/Gcc.hs | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/Settings/Builders/Gcc.hs b/src/Settings/Builders/Gcc.hs
index 4902ea3..7c237da 100644
--- a/src/Settings/Builders/Gcc.hs
+++ b/src/Settings/Builders/Gcc.hs
@@ -2,6 +2,7 @@ module Settings.Builders.Gcc (gccBuilderArgs, gccMBuilderArgs) where
import Development.Shake.FilePath
import Expression
+import Oracles.Config.Setting
import Oracles.PackageData
import Predicates (stagedBuilder)
import Settings
@@ -30,4 +31,5 @@ gccMBuilderArgs = stagedBuilder GccM ? do
commonGccArgs :: Args
commonGccArgs = mconcat [ append =<< getPkgDataList CcArgs
+ , append =<< getSettingList . ConfCcArgs =<< getStage
, cIncludeArgs ]
More information about the ghc-commits
mailing list