mirror of
https://github.com/danog/gllvm.git
synced 2024-11-30 06:39:06 +01:00
Update README.md
A warning to the wise.
This commit is contained in:
parent
4b34b5e1aa
commit
b8413d515c
@ -243,6 +243,14 @@ produces the bitcode. This can be fulfilled by setting the
|
|||||||
`LLVM_BITCODE_GENERATION_FLAGS` environment variable to the desired
|
`LLVM_BITCODE_GENERATION_FLAGS` environment variable to the desired
|
||||||
flags, for example `"-flto -fwhole-program-vtables"`.
|
flags, for example `"-flto -fwhole-program-vtables"`.
|
||||||
|
|
||||||
|
## Beware of link time optimization.
|
||||||
|
|
||||||
|
If the package you are building happens to take advantage of recent `clang` developments
|
||||||
|
such as *link time optimization* (indicated by the presence of compiler flag `-flto`), then
|
||||||
|
your build is unlikely to produce anything that `get-bc` will work on. This is to be
|
||||||
|
expected.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user