summaryrefslogtreecommitdiff
path: root/src/compiler.sml
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2009-08-25 17:33:13 -0400
committerGravatar Adam Chlipala <adamc@hcoop.net>2009-08-25 17:33:13 -0400
commit87777778aeaee3e1de767499f86bc22789118a69 (patch)
tree0c17c4e2488fadc7daa109118e623a4871c9bdb8 /src/compiler.sml
parentf9d6e7f4d4e5f1c01fd10bf82232a938b930147f (diff)
New release
Diffstat (limited to 'src/compiler.sml')
-rw-r--r--src/compiler.sml5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/compiler.sml b/src/compiler.sml
index c99c0eeb..b7550fed 100644
--- a/src/compiler.sml
+++ b/src/compiler.sml
@@ -901,11 +901,12 @@ fun compileC {cname, oname, ename, libs, profile, debug, link = link'} =
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