summaryrefslogtreecommitdiff
path: root/src/compiler.sml
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2008-07-13 12:47:54 -0400
committerGravatar Adam Chlipala <adamc@hcoop.net>2008-07-13 12:47:54 -0400
commit726ec9075caf849329f0415f151c40620482c2ac (patch)
treeabf89b555fba6973e5f48523ef2b4ae5a26442a3 /src/compiler.sml
parent676080ae156380bb2ef1098f1509ad7d852dccca (diff)
Turn on gcc -O3
Diffstat (limited to 'src/compiler.sml')
-rw-r--r--src/compiler.sml4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compiler.sml b/src/compiler.sml
index e54fe5b4..156c8bb9 100644
--- a/src/compiler.sml
+++ b/src/compiler.sml
@@ -357,8 +357,8 @@ fun compile job =
val oname = "/tmp/lacweb.o"
val ename = "/tmp/webapp"
- val compile = "gcc -I include -c " ^ cname ^ " -o " ^ oname
- val link = "gcc clib/lacweb.o " ^ oname ^ " clib/driver.o -o " ^ ename
+ val compile = "gcc -O3 -I include -c " ^ cname ^ " -o " ^ oname
+ val link = "gcc -O3 clib/lacweb.o " ^ oname ^ " clib/driver.o -o " ^ ename
val outf = TextIO.openOut cname
val s = TextIOPP.openOut {dst = outf, wid = 80}