Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

--ghc-options doesn't work with GHCJS #2714

Closed
mgsloan opened this issue Oct 18, 2016 · 2 comments
Closed

--ghc-options doesn't work with GHCJS #2714

mgsloan opened this issue Oct 18, 2016 · 2 comments

Comments

@mgsloan
Copy link
Contributor

mgsloan commented Oct 18, 2016

Creating this to document a bug I discovered and have now fixed.

The issue is that we were passing in --ghc-options to Cabal, even when using ghcjs. Cabal will accept --ghc-options even when doing a build with ghcjs. Turns out we need to pass --ghcjs-options instead for them to actually get passed along to the compiler.

@spl
Copy link

spl commented Oct 18, 2016

Great! So this can be closed?

@mgsloan
Copy link
Contributor Author

mgsloan commented Oct 18, 2016

Yep!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants