Skip to content

Commit

Permalink
Enable RTS options for GHC >= 7
Browse files Browse the repository at this point in the history
  • Loading branch information
bos committed May 9, 2011
1 parent a14bdb1 commit 86e92d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions benchmarks/Makefile
Expand Up @@ -6,10 +6,10 @@ binaries := AesonParse AesonEncode JsonParse
all: $(binaries) $(binaries:%=%_p)

%_p: %.hs
$(ghc) $(ghcflags) -prof -auto-all --make -o $@ $^
$(ghc) $(ghcflags) -prof -auto-all -rtsopts --make -o $@ $^

%: %.hs
$(ghc) $(ghcflags) --make -o $@ $^
$(ghc) $(ghcflags) --make -rtsopts -o $@ $^

clean:
-rm -f *.o *.hi $(binaries) $(binaries:%=%_p)

0 comments on commit 86e92d9

Please sign in to comment.