changeset 113:6c88b44efcfa

Turn on gcc -O3
author Adam Chlipala <adamc@hcoop.net>
date Sun, 13 Jul 2008 12:47:54 -0400
parents 690d72c92a15
children 0644d3c3bedf
files src/compiler.sml
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/compiler.sml	Sun Jul 13 12:43:47 2008 -0400
+++ b/src/compiler.sml	Sun Jul 13 12:47:54 2008 -0400
@@ -357,8 +357,8 @@
             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}