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:
margaret.chan%sun.com 2002-07-25 18:37:34 +00:00
Родитель e9e1a39573
Коммит 268d35ffdc
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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'