summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwtc%netscape.com <devnull@localhost>2000-10-02 22:52:43 +0000
committerwtc%netscape.com <devnull@localhost>2000-10-02 22:52:43 +0000
commit35adafd884fa619a12b978faa8669a1e4e290ed0 (patch)
tree69c459387006654b3414f5495dc83db92cac2711
parentdbbb993e5fd9699fc23d33e6dd2bf704830a2486 (diff)
downloadnss-hg-35adafd884fa619a12b978faa8669a1e4e290ed0.tar.gz
Bugzilla bug #54869: support gcc for 32-bit Solaris/SPARC build.
-rw-r--r--security/nss/lib/freebl/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/security/nss/lib/freebl/Makefile b/security/nss/lib/freebl/Makefile
index d4a412a6d..8dfe7f6b9 100644
--- a/security/nss/lib/freebl/Makefile
+++ b/security/nss/lib/freebl/Makefile
@@ -127,7 +127,8 @@ else
ASFILES = mpv_sparc32.S
ASM_SUFFIX = .S
MPI_SRCS += mpi_sparc.c
- SOLARIS_FLAGS = -xchip=ultra -xarch=v8plusa -KPIC -mt
+ SOLARIS_AS = /usr/ccs/bin/as
+ SOLARIS_FLAGS = -xarch=v8plusa -K PIC
endif
endif
endif
@@ -206,11 +207,11 @@ SPARCFIX = $(OBJDIR)/sparcfix
$(SPARCFIX): sparcfix.c
@$(MAKE_OBJDIR)
- $(CC) -o $@ -O sparcfix.c -l elf
+ $(CC) -o $@ -O sparcfix.c -lelf
$(OBJDIR)/mpv_sparc32.o: $(SPARCFIX) mpv_sparc32.S
@$(MAKE_OBJDIR)
- $(CC) -o $@ $(SOLARIS_FLAGS) -c mpv_sparc32.S
+ $(SOLARIS_AS) -o $@ $(SOLARIS_FLAGS) mpv_sparc32.S
$(SPARCFIX) $@
$(OBJDIR)/mpv_sparc.o: vis_64.il vis_proto.h mpv_sparc.c