Commit 3665f6fd authored by Mikhail Glushenkov's avatar Mikhail Glushenkov Committed by GitHub
Browse files

Merge pull request #3869 from ezyang/pr/minor-renaming-config-prof

Rename configProf/configCoverage local variables to not shadow.
parents bb9fd108 e8d80aa8
...@@ -698,9 +698,9 @@ configure (pkg_descr0', pbi) cfg = do ...@@ -698,9 +698,9 @@ configure (pkg_descr0', pbi) cfg = do
++ "is not being built. Linking will fail if any executables " ++ "is not being built. Linking will fail if any executables "
++ "depend on the library." ++ "depend on the library."
configProf <- configureProfiling verbosity cfg comp setProfLBI <- configureProfiling verbosity cfg comp
configCoverage <- configureCoverage verbosity cfg comp setCoverageLBI <- configureCoverage verbosity cfg comp
reloc <- reloc <-
if not (fromFlag $ configRelocatable cfg) if not (fromFlag $ configRelocatable cfg)
...@@ -712,7 +712,7 @@ configure (pkg_descr0', pbi) cfg = do ...@@ -712,7 +712,7 @@ configure (pkg_descr0', pbi) cfg = do
(componentLocalName clbi) [clbi] m) (componentLocalName clbi) [clbi] m)
Map.empty buildComponents Map.empty buildComponents
let lbi = (configCoverage . configProf) let lbi = (setCoverageLBI . setProfLBI)
LocalBuildInfo { LocalBuildInfo {
configFlags = cfg, configFlags = cfg,
flagAssignment = flags, flagAssignment = flags,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment