summaryrefslogtreecommitdiff
path: root/security/nss/lib/freebl
diff options
context:
space:
mode:
authornelsonb%netscape.com <devnull@localhost>2001-04-27 04:17:59 +0000
committernelsonb%netscape.com <devnull@localhost>2001-04-27 04:17:59 +0000
commitb42bc8f95b05eacece3c1591fc754c2cbf7d595a (patch)
tree4a721ac4d19ae85b1f9ef3b0c2e54b4892497c27 /security/nss/lib/freebl
parent0930e0075e32abbaab302b5e8f65bad611a89f44 (diff)
downloadnss-hg-b42bc8f95b05eacece3c1591fc754c2cbf7d595a.tar.gz
Build freebl on Solaris x86 with either gcc or Forte'. Not yet using
x86 assembler sources though. That's TBD. Bug 73115.
Diffstat (limited to 'security/nss/lib/freebl')
-rw-r--r--security/nss/lib/freebl/Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/security/nss/lib/freebl/Makefile b/security/nss/lib/freebl/Makefile
index 10beb49d3..19be62f8c 100644
--- a/security/nss/lib/freebl/Makefile
+++ b/security/nss/lib/freebl/Makefile
@@ -185,6 +185,20 @@ else
endif
endif
endif
+else
+# Solaris x86
+ DEFINES += -DMP_USE_UINT_DIGIT
+ifdef NS_USE_GCC
+ LD = gcc
+ AS = as
+ ASFLAGS =
+ DSO_LDOPTS += -shared -Wl,-B,symbolic,-z,defs,-z,now,-z,text,-M,mapfile.Solaris
+# ASFILES = mpi_x86.s
+# DEFINES += -DMP_ASSEMBLY_MULTIPLY -DMP_ASSEMBLY_SQUARE -DMP_ASSEMBLY_DIV_2DX1D
+else
+ MKSHLIB += -B symbolic -z defs -z now -z text -M mapfile.Solaris
+endif
+
endif
endif