Merge pull request #57 from dalaing/ghcjs-options
Adds some GHCJS options to the frontend cabal file
commit255190f32b0f12a502cbbdc47cf124514454309c
authorElliot Cameron <3noch@users.noreply.github.com>
dateWed 20 May 2020, 01:49 (6 years ago)
parentd6d2b60f21e632
skeleton/frontend/frontend.cabal+6
@@ -17,6 +17,9 @@ library
1717 exposed-modules:
1818 Frontend
1919 ghc-options: -Wall
20+ if impl(ghcjs -any)
21+ ghc-options: -dedupe
22+ cpp-options: -DGHCJS_BROWSER
2023
2124executable frontend
2225 main-is: main.hs
@@ -32,3 +35,6 @@ executable frontend
3235 ghc-options: -threaded
3336 if os(darwin)
3437 ghc-options: -dynamic
38+ if impl(ghcjs -any)
39+ ghc-options: -dedupe
40+ cpp-options: -DGHCJS_BROWSER