From abee68ea54a79a66f2bda40eceb53120c99bac6a Mon Sep 17 00:00:00 2001 From: Christian Kamm Date: Sun, 24 Aug 2008 18:25:34 +0200 Subject: [PATCH] Disable boehm gc by default. Use --enable-boehm-gc on premake to enable. --- premake.lua | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/premake.lua b/premake.lua index 2328505731..35f6d888d3 100644 --- a/premake.lua +++ b/premake.lua @@ -6,14 +6,11 @@ project.name = llvmdc 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