mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 23:31:56 +00:00
ace23258e7
When building gtest libxul with LTO, the fact that StaticXULComponentStart is not passed first to the linker makes the linker pull the NSModule symbols out of all the other objects first, presumably because linking the gtest objects (which appear first) pulls code from the other non StaticXULComponent* objects first. So, to make things link properly with LTO, we trick the build system to always put StaticXULComponentStart first. --HG-- extra : rebase_source : 7ddda118903f5845f6b6d12db2bf39cd22d67ab5 |
||
---|---|---|
.. | ||
gtest | ||
rust | ||
StaticXULComponentsEnd | ||
dependentlibs.py | ||
libxul.mk | ||
libxul.so-gdb.py.in | ||
Makefile.in | ||
moz.build | ||
nsDllMain.cpp | ||
StaticXULComponents.ld | ||
StaticXULComponentsStart.cpp | ||
symverscript.in | ||
xulrunner.rc |