snowleopard / hadrian

Hadrian: a new build system for the Glasgow Haskell Compiler. Now merged into the GHC tree!
https://gitlab.haskell.org/ghc/ghc/tree/master/hadrian
MIT License
208 stars 37 forks source link

testsuite: add CLI flag for specifying extra options to pass to ghc #686

Closed alpmestan closed 5 years ago

alpmestan commented 6 years ago

So that these would apply to whatever tests we will be running. Requested by @simonmar in https://github.com/snowleopard/hadrian/issues/669#issuecomment-420329845

In the make build system, all one has to do is to use EXTRA_HC_OPTS, as can be seen in Simon's comment.

snowleopard commented 5 years ago

I believe this has been fixed.