зеркало из https://github.com/mozilla/gecko-dev.git
Bug 149151 - Use -lazyload to distribute cost of loading objects throughout their life cycle. This checkin also includes another linker option -zcombreloc which will combine relocatable objects in one section. Both options are added for performance reason, and they are only for Solaris. r=cls, a=asa.
This commit is contained in:
Родитель
e9e1a39573
Коммит
268d35ffdc
|
@ -1239,7 +1239,7 @@ dnl the qsort routine under solaris is faulty
|
|||
if test -z "$GNU_CC"; then
|
||||
NS_USE_NATIVE=1
|
||||
AC_DEFINE(NSCAP_DISABLE_DEBUG_PTR_TYPES)
|
||||
LDFLAGS="-xildoff $LDFLAGS"
|
||||
LDFLAGS="-xildoff -zlazyload -zcombreloc $LDFLAGS"
|
||||
MKSHLIB='$(CXX) $(CXXFLAGS) $(DSO_PIC_FLAGS) $(DSO_LDOPTS) -o $@'
|
||||
MKCSHLIB='$(CC) $(CFLAGS) $(DSO_PIC_FLAGS) $(DSO_LDOPTS) -o $@'
|
||||
MKSHLIB_FORCE_ALL='-Qoption ld -z,allextract'
|
||||
|
|
Загрузка…
Ссылка в новой задаче