mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-05 17:43:35 +03:00
Disable boehm gc by default. Use --enable-boehm-gc on premake to enable.
This commit is contained in:
parent
f183d7ce1d
commit
abee68ea54
1 changed files with 4 additions and 7 deletions
|
@ -6,14 +6,11 @@ project.name = llvmdc
|
||||||
OPAQUE_VTBLS = 1
|
OPAQUE_VTBLS = 1
|
||||||
|
|
||||||
-- use of boehm gc
|
-- use of boehm gc
|
||||||
if OS == "windows" then
|
|
||||||
USE_BOEHM_GC = 0
|
USE_BOEHM_GC = 0
|
||||||
else
|
if OS ~= "windows" then
|
||||||
addoption("no-boehm", "Disable use of the Boehm GC")
|
addoption("enable-boehm-gc", "Enable use of the Boehm GC (broken!)")
|
||||||
|
|
||||||
if options["no-boehm"] then
|
if options["enable-boehm-gc"] then
|
||||||
USE_BOEHM_GC = 0
|
|
||||||
else
|
|
||||||
USE_BOEHM_GC = 1
|
USE_BOEHM_GC = 1
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue