Skip to content

Commit

Permalink
Fix stack build on macOS.
Browse files Browse the repository at this point in the history
Disable `-Wnonportable-include-path` for executable dex in dex.cabal.

I am not sure caused this issue to surface. The same issue previously
occurred for other targets in dex.cabal.

Workaround suggested by discussion:
haskell/cabal#4739 (comment)
  • Loading branch information
dan-zheng committed Jan 8, 2021
1 parent 5af3a29 commit 8e3914d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dex.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ executable dex
default-language: Haskell2010
hs-source-dirs: src
default-extensions: CPP, LambdaCase, BlockArguments
ghc-options: -threaded
ghc-options: -threaded -optP-Wno-nonportable-include-path
if flag(optimized)
ghc-options: -O3
else
Expand Down

0 comments on commit 8e3914d

Please sign in to comment.