Mercurial > projects > ldc
diff premake.lua @ 193:aca17e55b7a5 trunk
[svn r209] Fixed: exotic array to pointer casts were broken.
Changed: classes now have opaque vtables.
author | lindquist |
---|---|
date | Mon, 12 May 2008 18:44:11 +0200 |
parents | 0e28624814e8 |
children | a168a2c3ea48 |
line wrap: on
line diff
--- a/premake.lua Mon May 12 18:22:55 2008 +0200 +++ b/premake.lua Mon May 12 18:44:11 2008 +0200 @@ -27,9 +27,13 @@ package.linkoptions = { -- long but it's faster than just 'all' "`llvm-config --libs core asmparser bitreader bitwriter support target transformutils scalaropts ipo instrumentation x86 powerpc`", - "`llvm-config --ldflags`" + "`llvm-config --ldflags`", } -package.defines = { "IN_LLVM", "_DH" } +package.defines = { + "IN_LLVM", + "_DH", + "OPAQUE_VTBLS=1", +} package.config.Release.defines = { "LLVMD_NO_LOGGER" } package.config.Debug.buildoptions = { "-g -O0" } --package.targetprefix = "llvm"