mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-02-13 10:23:14 +01:00
[svn r316] Fixed array slice assignments like: int[] arr = ...; arr[] = 42;
There was problems with most non basic types... Added an option to premake so we can do: premake --target gnu --no-boehm to disable the Boehm GC.
This commit is contained in:
14
premake.lua
14
premake.lua
@@ -1,11 +1,21 @@
|
||||
project.name = llvmdc
|
||||
|
||||
-- options
|
||||
|
||||
-- we always make vtables opaque, it simply kills performance...
|
||||
OPAQUE_VTBLS = 1
|
||||
|
||||
-- use of boehm gc
|
||||
if OS == "windows" then
|
||||
USE_BOEHM_GC = 0
|
||||
USE_BOEHM_GC = 0
|
||||
else
|
||||
USE_BOEHM_GC = 1
|
||||
addoption("no-boehm", "Disable use of the Boehm GC")
|
||||
|
||||
if options["no-boehm"] then
|
||||
USE_BOEHM_GC = 0
|
||||
else
|
||||
USE_BOEHM_GC = 1
|
||||
end
|
||||
end
|
||||
|
||||
-- idgen
|
||||
|
||||
Reference in New Issue
Block a user