зеркало из https://github.com/mozilla/gecko-dev.git
Change link of shared libs to take OS_LIBS after application libs.
Also, change default loader on IRIX from ld to CC, since DSO's with C++ code need to use the C++ loader. Using ld causes memory trashing.
This commit is contained in:
Родитель
035e8b2060
Коммит
fb25a42c5a
|
@ -28,6 +28,7 @@ endif
|
|||
|
||||
DEFAULT_COMPILER = cc
|
||||
LINK_PROGRAM = $(CCC)
|
||||
LD = $(CCC)
|
||||
|
||||
ifdef NS_USE_GCC
|
||||
CC = gcc
|
||||
|
|
|
@ -290,7 +290,7 @@ else
|
|||
endif
|
||||
endif
|
||||
else
|
||||
$(MKSHLIB) -o $@ $(OBJS) -all $(AR_LIBS) -none $(LD_LIBS) $(OS_LIBS) $(EXTRA_LIBS)
|
||||
$(MKSHLIB) -o $@ $(OBJS) -all $(AR_LIBS) -none $(LD_LIBS) $(EXTRA_LIBS) $(OS_LIBS)
|
||||
chmod +x $@
|
||||
endif
|
||||
endif
|
||||
|
|
Загрузка…
Ссылка в новой задаче