Commit 07030ef3 authored by Herbert Valerio Riedel's avatar Herbert Valerio Riedel 🕺
Browse files

Re-allow `configure-option` in config file (re #2122)

A couple of settings were filtered out since
74cb2909 including
`configure-option`. However, it turns out you may want to
persist some options to `configure`, such as e.g.

  --configure-option=--build=x86_64-w64-mingw32

when working in a Cygwin host environment, but using a Mingw
toolchain (such as the one bundled with the Windows GHC bindist).

Approved by @dcoutts
parent 6aea62d8
......@@ -376,7 +376,7 @@ configFieldDescriptions =
++ toSavedConfig liftConfigFlag
(configureOptions ParseArgs)
(["builddir", "configure-option", "constraint", "dependency"]
(["builddir", "constraint", "dependency"]
++ map fieldName installDirsFields)
--FIXME: this is only here because viewAsFieldDescr gives us a parser
......
Supports Markdown
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