7eca8a16ea
This combines the *.o into a big .o producing one translation unit. This preserve our unused static initializers, as specified in the C++ standard: If no variable or function is odr-used from a given translation unit, the non-local variables defined in that translation unit may never be initialized (this models the behavior of an on-demand dynamic library). Note that this is very similar to how the --whole-archive flag works. One advantage of this is that users of the final .a library don’t have to worry about specifying --whole-archive, or that we have unused static initializers at all! |
||
---|---|---|
.. | ||
clean.mk | ||
dist.mk | ||
functions.mk | ||
install.mk | ||
jars.mk | ||
lib.mk | ||
libraries.mk | ||
patterns.mk | ||
precompiled-headers.mk | ||
programs.mk | ||
templates.mk | ||
tests.mk | ||
tracing.mk |