Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
Packages
Cabal
Commits
54e23f69
Commit
54e23f69
authored
Dec 09, 2008
by
Duncan Coutts
Browse files
Fix configCompilerAux to consider user-supplied program flags
This fixes a bug in cabal-install
parent
f8eb9aa9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Distribution/Simple/Configure.hs
View file @
54e23f69
...
...
@@ -623,8 +623,12 @@ configCompilerAux :: ConfigFlags -> IO (Compiler, ProgramConfiguration)
configCompilerAux
cfg
=
configCompiler
(
flagToMaybe
$
configHcFlavor
cfg
)
(
flagToMaybe
$
configHcPath
cfg
)
(
flagToMaybe
$
configHcPkg
cfg
)
defaultP
rogramConfig
uration
p
rogram
s
Config
(
fromFlag
(
configVerbosity
cfg
))
where
programsConfig
=
userSpecifyArgss
(
configProgramArgs
cfg
)
.
userSpecifyPaths
(
configProgramPaths
cfg
)
$
defaultProgramConfiguration
configCompiler
::
Maybe
CompilerFlavor
->
Maybe
FilePath
->
Maybe
FilePath
->
ProgramConfiguration
->
Verbosity
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment