mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-02-04 14:03:14 +01:00
[svn r209] Fixed: exotic array to pointer casts were broken.
Changed: classes now have opaque vtables.
This commit is contained in:
@@ -27,9 +27,13 @@ package.buildoptions = { "-x c++", "`llvm-config --cxxflags`" }
|
||||
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",
|
||||
"OPAQUE_VTBLS=1",
|
||||
}
|
||||
package.defines = { "IN_LLVM", "_DH" }
|
||||
package.config.Release.defines = { "LLVMD_NO_LOGGER" }
|
||||
package.config.Debug.buildoptions = { "-g -O0" }
|
||||
--package.targetprefix = "llvm"
|
||||
|
||||
Reference in New Issue
Block a user