diff options
author | wtc%netscape.com <devnull@localhost> | 2003-03-21 04:45:37 +0000 |
---|---|---|
committer | wtc%netscape.com <devnull@localhost> | 2003-03-21 04:45:37 +0000 |
commit | fffa702b4b17e6eb7e32b668ea3e899d60c16a2e (patch) | |
tree | 4769495f057351e11da898ac1fa5ad2f79cc956a | |
parent | efd4baf685fa6c738fd56a2f7b9dbfe7fc02907e (diff) | |
download | nss-hg-fffa702b4b17e6eb7e32b668ea3e899d60c16a2e.tar.gz |
Bugzilla 198481: when using cc to build a 64-bit SPARC shared library, we
need to specify -xarch=v9.
-rw-r--r-- | security/coreconf/SunOS5.mk | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/security/coreconf/SunOS5.mk b/security/coreconf/SunOS5.mk index 2f9e190e2..5adcbf6ca 100644 --- a/security/coreconf/SunOS5.mk +++ b/security/coreconf/SunOS5.mk @@ -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 |