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
++ "is not being built. Linking will fail if any executables "
++ "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 <-
if not (fromFlag $ configRelocatable cfg)
......@@ -712,7 +712,7 @@ configure (pkg_descr0', pbi) cfg = do
(componentLocalName clbi) [clbi] m)
Map.empty buildComponents
let lbi = (configCoverage . configProf)
let lbi = (setCoverageLBI . setProfLBI)
LocalBuildInfo {
configFlags = cfg,
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