Skip to content

Commit

Permalink
Use O1 by default for compiling Scripts in production, similiar how w…
Browse files Browse the repository at this point in the history
…e do it with the background job worker
  • Loading branch information
mpscholten committed Jul 7, 2021
1 parent 1669299 commit 3ae7d16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/IHP/Makefile.dist
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ endif

build/bin/Script/%: build/Script/Main/%.hs
mkdir -p build/bin/Script
ghc -O2 ${GHC_OPTIONS} ${PROD_GHC_OPTIONS} $< -o $@ -odir build/Script -hidir build/Script
ghc -O1 ${GHC_OPTIONS} ${PROD_GHC_OPTIONS} $< -o $@ -odir build/Script -hidir build/Script

build/Script/Main/%.hs: Application/Script/%.hs
mkdir -p build/Script/Main
Expand Down

0 comments on commit 3ae7d16

Please sign in to comment.