mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-05 09:31:03 +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
11
premake.lua
11
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue