Skip to content

Commit

Permalink
explicitly provide language to cc, should fix #102
Browse files Browse the repository at this point in the history
As suggested in
<#102 (comment)>.
  • Loading branch information
bitonic committed Oct 23, 2019
1 parent 4a4bf5e commit fc48abb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions inline-c-cpp/inline-c-cpp.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ library
, safe-exceptions
hs-source-dirs: src
default-language: Haskell2010
ghc-options: -Wall -optc-std=c++11
ghc-options: -Wall -optc-xc++ -optc-std=c++11
if os(darwin)
-- avoid https://gitlab.haskell.org/ghc/ghc/issues/11829
ld-options: -Wl,-keep_dwarf_unwind
Expand All @@ -47,4 +47,4 @@ test-suite tests
if os(darwin)
ghc-options: -pgmc=clang++
extra-libraries: stdc++
cc-options: -Wall -Werror -std=c++11
cc-options: -Wall -Werror -optc-xc++ -std=c++11

0 comments on commit fc48abb

Please sign in to comment.