Skip to content

Commit

Permalink
Remove redundant -O flags.
Browse files Browse the repository at this point in the history
Cabal insists that it adds them by default, and won't let me upload
a package with the flag in the spec.
  • Loading branch information
cdsmith committed Jul 20, 2018
1 parent 0ee568d commit 50fc080
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 8 deletions.
3 changes: 1 addition & 2 deletions codeworld-api/codeworld-api.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -54,5 +54,4 @@ Library
time >= 1.6.0 && < 1.9

Exposed: True
Ghc-options: -O
-Wincomplete-patterns
Ghc-options: -Wincomplete-patterns
1 change: 0 additions & 1 deletion codeworld-base/codeworld-base.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,3 @@ Library
text,
time
Exposed: False
Ghc-options: -O
2 changes: 0 additions & 2 deletions codeworld-compiler/codeworld-compiler.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,6 @@ Library

Exposed: True

Ghc-options: -O

Test-Suite codeworld-compiler-test
Type: exitcode-stdio-1.0
Main-is: Main.hs
Expand Down
1 change: 0 additions & 1 deletion codeworld-error-sanitizer/codeworld-error-sanitizer.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,3 @@ Library
regex-tdfa

Exposed: True
Ghc-options: -O
1 change: 0 additions & 1 deletion codeworld-game-api/codeworld-game-api.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,3 @@ Library
text

Exposed: True
Ghc-options: -O
4 changes: 3 additions & 1 deletion codeworld-server/codeworld-server.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,7 @@ Executable codeworld-server
text,
unix

Ghc-options: -threaded -Wall -funbox-strict-fields -O
Ghc-options: -threaded
-Wall
-fno-warn-unused-do-bind
-funbox-strict-fields

0 comments on commit 50fc080

Please sign in to comment.