Skip to content

Commit

Permalink
Use -O2 optimimzation by default
Browse files Browse the repository at this point in the history
  • Loading branch information
Maratyszcza committed Feb 26, 2017
1 parent 503e96c commit f144955
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion confu/tools/toolchains/unix.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def __init__(self, target):
self.cflags = ["-std=gnu99", "-g"]
self.cxxflags = ["-std=gnu++0x" if self.target == "x86_64-nacl-gnu" else "-std=gnu++11", "-g"]
self.ldflags = []
self.optflag = "-O3"
self.optflag = "-O2"
if self.target.is_glibc:
self.cflags.append("-pthread")
self.cxxflags.append("-pthread")
Expand Down

0 comments on commit f144955

Please sign in to comment.