Skip to content

Commit

Permalink
Add -xc++
Browse files Browse the repository at this point in the history
  • Loading branch information
junjihashimoto committed Nov 4, 2019
1 parent d169737 commit 1f9992d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions libtorch-ffi/libtorch-ffi.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,9 @@ library
ghc-options: -optc-std=c++11 -optc-xc++
cc-options: -std=c++11 -xc++
else
ghc-options: -optc-std=c++11
cc-options: -std=c++11
cxx-options: -std=c++11
ghc-options: -optc-std=c++11 -optc-xc++
cc-options: -std=c++11 -xc++
cxx-options: -std=c++11 -xc++
default-extensions: Strict
, StrictData

Expand Down Expand Up @@ -114,8 +114,8 @@ test-suite spec
ghc-options: -optc-std=c++11 -optc-xc++
cc-options: -std=c++11 -xc++
else
ghc-options: -optc-std=c++11
cc-options: -std=c++11
cxx-options: -std=c++11
ghc-options: -optc-std=c++11 -optc-xc++
cc-options: -std=c++11 -xc++
cxx-options: -std=c++11 -xc++
default-extensions: Strict
, StrictData

0 comments on commit 1f9992d

Please sign in to comment.