changeset 544:1c7220171d41

Disable boehm gc by default. Use --enable-boehm-gc on premake to enable.
author Christian Kamm <kamm incasoftware de>
date Sun, 24 Aug 2008 18:25:34 +0200
parents 8a73062f934e
children a42610460308
files premake.lua
diffstat 1 files changed, 4 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/premake.lua	Sun Aug 24 17:02:03 2008 +0200
+++ b/premake.lua	Sun Aug 24 18:25:34 2008 +0200
@@ -6,14 +6,11 @@
 OPAQUE_VTBLS = 1
 
 -- use of boehm gc
-if OS == "windows" then
-    USE_BOEHM_GC = 0
-else
-    addoption("no-boehm", "Disable use of the Boehm GC")
+USE_BOEHM_GC = 0
+if OS ~= "windows" then
+    addoption("enable-boehm-gc", "Enable use of the Boehm GC (broken!)")
 
-    if options["no-boehm"] then
-        USE_BOEHM_GC = 0
-    else
+    if options["enable-boehm-gc"] then
         USE_BOEHM_GC = 1
     end
 end