diff src/compiler.sml @ 949:6646b95f1860

Disable GCC inlining to stop goofy errors
author Adam Chlipala <adamc@hcoop.net>
date Thu, 17 Sep 2009 13:30:56 -0400
parents b873feb3eb52
children 2831be2daf2e
line wrap: on
line diff
--- a/src/compiler.sml	Thu Sep 17 12:55:22 2009 -0400
+++ b/src/compiler.sml	Thu Sep 17 13:30:56 2009 -0400
@@ -907,7 +907,7 @@
         val urweb_o = clibFile "urweb.o"
         val memmem_o = clibFile "memmem.o"
 
-        val compile = "gcc " ^ Config.gccArgs ^ " -Wstrict-prototypes -Werror -O3 -I " ^ Config.includ
+        val compile = "gcc " ^ Config.gccArgs ^ " -Wstrict-prototypes -Werror -O3 -fno-inline -I " ^ Config.includ
                       ^ " -c " ^ cname ^ " -o " ^ oname
         val link = "gcc -Werror -O3 -lm -lmhash -pthread " ^ Config.gccArgs ^ " " ^ libs ^ " " ^ urweb_o ^ " " ^ oname
                    ^ " " ^ memmem_o ^ " " ^ #link proto ^ " -o " ^ ename