Skip to content

Commit

Permalink
Remove -optc-std=c++11 when darwin
Browse files Browse the repository at this point in the history
  • Loading branch information
junjihashimoto committed Oct 23, 2019
1 parent c4c9cc3 commit 0480dab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libtorch-ffi/libtorch-ffi.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ library
extra-ghci-libraries: stdc++
if os(darwin)
ld-options: -Wl,-keep_dwarf_unwind
ghc-options: -optc-std=c++11 -optc-xc++
ghc-options: -optc-xc++
else
ghc-options: -optc-std=c++11
cc-options: -std=c++11
Expand Down

0 comments on commit 0480dab

Please sign in to comment.