Mercurial > urweb
diff src/compiler.sml @ 914:782f0b4eea67
New release
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Tue, 25 Aug 2009 17:33:13 -0400 |
parents | 8e540df3294d |
children | b873feb3eb52 |
line wrap: on
line diff
--- a/src/compiler.sml Tue Aug 25 17:12:21 2009 -0400 +++ b/src/compiler.sml Tue Aug 25 17:33:13 2009 -0400 @@ -901,11 +901,12 @@ let val proto = Settings.currentProtocol () val urweb_o = clibFile "urweb.o" + val memmem_o = clibFile "memmem.o" val compile = "gcc " ^ Config.gccArgs ^ " -Wstrict-prototypes -Werror -O3 -I " ^ Config.includ ^ " -c " ^ cname ^ " -o " ^ oname - val link = "gcc -Werror -O3 -lm -lmhash -pthread " ^ libs ^ " " ^ urweb_o ^ " " ^ oname - ^ " " ^ #link proto ^ " -o " ^ ename + val link = "gcc -Werror -O3 -lm -lmhash -pthread " ^ Config.gccArgs ^ " " ^ libs ^ " " ^ urweb_o ^ " " ^ oname + ^ " " ^ memmem_o ^ " " ^ #link proto ^ " -o " ^ ename val (compile, link) = if profile then