Bugzilla 198481: when using cc to build a 64-bit SPARC shared library, we

need to specify -xarch=v9.


git-svn-id: svn://10.0.0.236/trunk@139903 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
wtc%netscape.com 2003-03-21 04:45:37 +00:00
parent 82dff7415e
commit c52593b29b

View File

@ -159,6 +159,9 @@ PROCESS_MAP_FILE = grep -v ';-' $(LIBRARY_NAME).def | \
ifdef NS_USE_GCC
DSO_LDOPTS += -shared -h $(notdir $@)
else
ifeq ($(USE_64), 1)
DSO_LDOPTS += -xarch=v9
endif
DSO_LDOPTS += -G -h $(notdir $@)
endif