Skip to content

Commit 7da3707

Browse files
authored
Update README.md
New feature gets a shout out.
1 parent 4b14f14 commit 7da3707

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,14 @@ cross-compiling you must ensure to use the appropriate `objcopy` for the target
251251
architecture. The `BINUTILS_TARGET_PREFIX` environment variable can be used to
252252
set the objcopy of choice, for example, `arm-linux-gnueabihf`.
253253

254+
LTO Support
255+
-----------
256+
257+
In some situations it is desirable to pass certain flags to clang in the step that
258+
produces the bitcode. This can be fulfilled by setting the
259+
`LLVM_BITCODE_GENERATION_FLAGS` environment variable to the desired
260+
flags, for example "-flto -fwhole-program-vtables".
261+
254262
Debugging
255263
---------
256264

0 commit comments

Comments
 (0)