Skip to content

Commit 8029834

Browse files
davetapleyroelvandijk
authored andcommitted
Use ghc-options: -optc-std=c++11 (#106)
Fixes #104
1 parent 8bc14a1 commit 8029834

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

opencv-extra/opencv-extra.cabal

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ library
7474
, inline-c-cpp >= 0.2.1
7575

7676
cc-options: -Wall -std=c++11
77-
ghc-options: -Wall -fwarn-incomplete-patterns -funbox-strict-fields
77+
ghc-options: -Wall -fwarn-incomplete-patterns -funbox-strict-fields -optc-std=c++11
7878
if flag(internal-documentation)
7979
cpp-options: -DENABLE_INTERNAL_DOCUMENTATION
8080

opencv/opencv.cabal

+1-1
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ library
106106
, inline-c-cpp >= 0.2.1
107107

108108
cc-options: -Wall -std=c++11
109-
ghc-options: -Wall -fwarn-incomplete-patterns -funbox-strict-fields
109+
ghc-options: -Wall -fwarn-incomplete-patterns -funbox-strict-fields -optc-std=c++11
110110
if flag(internal-documentation)
111111
cpp-options: -DENABLE_INTERNAL_DOCUMENTATION
112112

0 commit comments

Comments
 (0)