diff premake.lua @ 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 1d3026702f65
children cbd6c8073a32
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