Changeset 582:723806dc48d8
- Timestamp:
- 09/07/08 10:16:10
(4 months ago)
- Author:
- Christian Kamm <kamm incasoftware de>
- branch:
- default
- Message:
Don't link in any target code, was unnecessary.
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r581 |
r582 |
|
| 5 | 5 | -- we always make vtables opaque, it simply kills performance... |
|---|
| 6 | 6 | OPAQUE_VTBLS = 1 |
|---|
| 7 | | |
|---|
| 8 | | -- enables additional backends |
|---|
| 9 | | addoption("add-backend", "Link in more than the native LLVM backend") |
|---|
| 10 | | EXTRA_BACKENDS="" |
|---|
| 11 | | if options["add-backend"] then |
|---|
| 12 | | EXTRA_BACKENDS=options["add-backend"] |
|---|
| 13 | | end |
|---|
| 14 | 7 | |
|---|
| 15 | 8 | -- use of boehm gc |
|---|
| … | … | |
| 63 | 56 | package.linkoptions = { |
|---|
| 64 | 57 | -- long but it's faster than just 'all' |
|---|
| 65 | | "`llvm-config --libs backend asmparser bitreader bitwriter linker ipo instrumentation " .. EXTRA_BACKENDS .. "`", |
|---|
| | 58 | "`llvm-config --libs bitwriter linker ipo instrumentation`", |
|---|
| 66 | 59 | "`llvm-config --ldflags`", |
|---|
| 67 | 60 | } |
|---|