Mercurial > urweb
diff src/compiler.sml @ 287:3ed7a7c7b060
Ask GCC to strip executables
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Sun, 07 Sep 2008 10:52:51 -0400 |
parents | 0236d9412ad2 |
children | 59dc042629b9 |
line wrap: on
line diff
--- a/src/compiler.sml Sun Sep 07 10:48:51 2008 -0400 +++ b/src/compiler.sml Sun Sep 07 10:52:51 2008 -0400 @@ -467,8 +467,8 @@ fun compileC {cname, oname, ename} = let - val compile = "gcc -O3 -I include -c " ^ cname ^ " -o " ^ oname - val link = "gcc -O3 -pthread -lpq clib/urweb.o " ^ oname ^ " clib/driver.o -o " ^ ename + val compile = "gcc -s -O3 -I include -c " ^ cname ^ " -o " ^ oname + val link = "gcc -s -O3 -pthread -lpq clib/urweb.o " ^ oname ^ " clib/driver.o -o " ^ ename in if not (OS.Process.isSuccess (OS.Process.system compile)) then print "C compilation failed\n"