Skip to content

Commit 9f9c273

Browse files
committed
it's build-compiler, not host-compiler for -W
1 parent 81e61f4 commit 9f9c273

File tree

1 file changed

+6
-6
lines changed
  • cabal-install/src/Distribution/Client

1 file changed

+6
-6
lines changed

cabal-install/src/Distribution/Client/Setup.hs

+6-6
Original file line numberDiff line numberDiff line change
@@ -1052,8 +1052,8 @@ configureExOptions _showOrParseArgs src =
10521052
)
10531053
, option
10541054
[]
1055-
["host-compiler"]
1056-
"host compiler"
1055+
["build-compiler"]
1056+
"build compiler"
10571057
configBuildHcFlavor
10581058
(\v flags -> flags{configBuildHcFlavor = v})
10591059
( choiceOpt
@@ -1063,15 +1063,15 @@ configureExOptions _showOrParseArgs src =
10631063
)
10641064
, option
10651065
"W"
1066-
["with-host-compiler", "with-host-hc"]
1067-
"give the path to the compiler for the host toolchain"
1066+
["with-build-compiler", "with-build-hc"]
1067+
"give the path to the compiler for the build toolchain"
10681068
configBuildHcPath
10691069
(\v flags -> flags{configBuildHcPath = v})
10701070
(reqArgFlag "PATH")
10711071
, option
10721072
""
1073-
["with-host-hc-pkg"]
1074-
"give the path to the package tool for the host toolchain"
1073+
["with-build-hc-pkg"]
1074+
"give the path to the package tool for the build toolchain"
10751075
configBuildHcPkg
10761076
(\v flags -> flags{configBuildHcPkg = v})
10771077
(reqArgFlag "PATH")

0 commit comments

Comments
 (0)