8000 .cabal: remove -O2 flags · LumiGuide/haskell-opencv@db77c9d · GitHub
[go: up one dir, main page]

Skip to content

Commit db77c9d

Browse files
committed
.cabal: remove -O2 flags
1 parent 6d3c7fc commit db77c9d

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

opencv-extra/opencv-extra.cabal

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ library
5757
aruco-namespace.hpp
5858

5959
cc-options: -Wall -std=c++11
60-
ghc-options: -Wall -fwarn-incomplete-patterns -funbox-strict-fields -O2
60+
ghc-options: -Wall -fwarn-incomplete-patterns -funbox-strict-fields
6161
if flag(internal-documentation)
6262
cpp-options: -DENABLE_INTERNAL_DOCUMENTATION
6363

@@ -113,7 +113,7 @@ test-suite doc-images-opencv-extra
113113
ExampleExtractor
114114
Language.Haskell.Meta.Syntax.Translate
115115
default-language: Haskell2010
116-
ghc-options: -Wall -fwarn-incomplete-patterns -threaded -funbox-strict-fields -O2 -rtsopts
116+
ghc-options: -Wall -fwarn-incomplete-patterns -threaded -funbox-strict-fields -rtsopts
117117
cpp-options: -DHAVE_OPENCV_EXTRA
118118
build-depends:
119119
base >= 4.8 && < 5

opencv/opencv.cabal

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ library
6363
video_motion_analysis.hpp
6464

6565
cc-options: -Wall -std=c++11
66-
ghc-options: -Wall -fwarn-incomplete-patterns -funbox-strict-fields -O2
66+
ghc-options: -Wall -fwarn-incomplete-patterns -funbox-strict-fields
6767
if flag(internal-documentation)
6868
cpp-options: -DENABLE_INTERNAL_DOCUMENTATION
6969

@@ -187,7 +187,7 @@ test-suite doc-images-opencv
187187
ExampleExtractor
188188
Language.Haskell.Meta.Syntax.Translate
189189
default-language: Haskell2010
190-
ghc-options: -Wall -fwarn-incomplete-patterns -threaded -funbox-strict-fields -O2 -rtsopts
190+
ghc-options: -Wall -fwarn-incomplete-patterns -threaded -funbox-strict-fields -rtsopts
191191
build-depends:
192192
base >= 4.8 && < 5
193193
, bytestring >= 0.10.6
@@ -222,7 +222,7 @@ test-suite test-opencv
222222
hs-source-dirs: test
223223
main-is: test.hs
224224
default-language: Haskell2010
225-
ghc-options: -Wall -fwarn-incomplete-patterns -threaded -funbox-strict-fields -O2 -rtsopts
225+
ghc-options: -Wall -fwarn-incomplete-patterns -threaded -funbox-strict-fields -rtsopts
226226
build-depends:
227227
base >= 4.8 && < 5
228228
, bytestring >= 0.10.6
@@ -250,7 +250,7 @@ benchmark bench-opencv
250250
hs-source-dirs: bench
251251
main-is: bench.hs
252252
default-language: Haskell2010
253-
ghc-options: -Wall -fwarn-incomplete-patterns -threaded -funbox-strict-fields -O2 -rtsopts
253+
ghc-options: -Wall -fwarn-incomplete-patterns -threaded -funbox-strict-fields -rtsopts
254254
build-depends:
255255
base >= 4.8 && < 5
256256
, bytestring >= 0.10.6

0 commit comments

Comments
 (0)
0