Revision
3179
Author
vincent.isambart@gmail.com
Date
2009-12-30 22:36:08 -0800 (Wed, 30 Dec 2009)

Log Message

C extensions should be compiled with exceptions support. Please do a "rm rbconfig.rbo; rake ext:clean" before rebuilding

Modified Paths

Diff

Modified: MacRuby/trunk/rakelib/builder.rake (3178 => 3179)


--- MacRuby/trunk/rakelib/builder.rake	2009-12-31 05:29:46 UTC (rev 3178)
+++ MacRuby/trunk/rakelib/builder.rake	2009-12-31 06:36:08 UTC (rev 3179)
@@ -154,7 +154,7 @@
   CONFIG["target_vendor"] = "apple"
   CONFIG["target_os"] = "darwin9.0"
   CONFIG["CC"] = "/usr/bin/gcc"
-  CONFIG["CFLAGS"] = "-fno-common -pipe $(cflags)"
+  CONFIG["CFLAGS"] = "-fexceptions -fno-common -pipe $(cflags)"
   CONFIG["LDFLAGS"] = ""
   CONFIG["CPPFLAGS"] = "$(cppflags)"
   CONFIG["OBJEXT"] = "o"