Disable boehm gc by default. Use --enable-boehm-gc on premake to enable.

This commit is contained in:
Christian Kamm 2008-08-24 18:25:34 +02:00
parent f183d7ce1d
commit abee68ea54

View file

@ -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")
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