aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/9ar9
-rw-r--r--src/cmd/venti/srv/mkfile2
-rw-r--r--src/mklib4
-rw-r--r--src/mkmk.sh7
-rw-r--r--src/mksyslib6
5 files changed, 14 insertions, 14 deletions
diff --git a/bin/9ar b/bin/9ar
index 42c61379..f9c8668f 100755
--- a/bin/9ar
+++ b/bin/9ar
@@ -1,8 +1,7 @@
#!/bin/sh
ar "$@"
-case "`uname`" in
-Darwin)
- ranlib -c $2
- ;;
-esac
+
+# We used to run ranlib if uname = Darwin,
+# but the mkfiles now pass the s flag to 9ar,
+# so ranlib should be unnecessary even there.
diff --git a/src/cmd/venti/srv/mkfile b/src/cmd/venti/srv/mkfile
index 4ff8bb0e..0c7ad8eb 100644
--- a/src/cmd/venti/srv/mkfile
+++ b/src/cmd/venti/srv/mkfile
@@ -77,7 +77,7 @@ CLEANFILES=$CLEANFILES $SLIB
<$PLAN9/src/mkmany
$SLIB: $LIBOFILES
- 9ar rvc $SLIB $LIBOFILES
+ 9ar rsc $SLIB $LIBOFILES
# xml.c:D: mkxml dat.h
# ./mkxml dat.h > xml.c
diff --git a/src/mklib b/src/mklib
index 6e38e2fe..fec971bf 100644
--- a/src/mklib
+++ b/src/mklib
@@ -2,10 +2,10 @@ default:V: $LIB
$LIB(%):N: %
$LIB: ${OFILES:%=$LIB(%)}
- $AR rvc $LIB $newmember
+ $AR rsc $LIB $newmember
&:n: &.$O
- $AR rvc $LIB $stem.$O
+ $AR rsc $LIB $stem.$O
all install:V: $LIB
diff --git a/src/mkmk.sh b/src/mkmk.sh
index 3d7c83b9..95298382 100644
--- a/src/mkmk.sh
+++ b/src/mkmk.sh
@@ -63,6 +63,7 @@ echo cd `pwd`
9c nulldir.c
9c open.c
9c opentemp.c
+9c pin.c
9c pipe.c
9c post9p.c
9c postnote.c
@@ -146,7 +147,7 @@ echo cd `pwd`
9c utf/utfrrune.c
9c utf/utfrune.c
9c utf/utfutf.c
-9ar rvc $PLAN9/lib/lib9.a _exits.o _p9dialparse.o _p9dir.o announce.o argv0.o atexit.o atoi.o atol.o atoll.o atnotify.o await.o cistrcmp.o cistrncmp.o cistrstr.o cleanname.o convD2M.o convM2D.o convM2S.o convS2M.o create.o crypt.o ctime.o date.o dial.o dirfstat.o dirfwstat.o dirmodefmt.o dirread.o dirstat.o dirwstat.o dup.o encodefmt.o errstr.o exec.o execl.o exitcode.o fcallfmt.o get9root.o getcallerpc-$OBJTYPE.o getenv.o getfields.o getnetconn.o getns.o getuser.o getwd.o jmp.o lrand.o lnrand.o main.o malloc.o malloctag.o mallocz.o nan.o needsrcquote.o needstack.o netcrypt.o netmkaddr.o notify.o nrand.o nulldir.o open.o opentemp.o pipe.o post9p.o postnote.o qlock.o quote.o rand.o read9pmsg.o readcons.o readn.o rfork.o searchpath.o seek.o sendfd.o sleep.o strdup.o strecpy.o sysfatal.o syslog.o sysname.o time.o tokenize.o truerand.o u16.o u32.o u64.o unsharp.o wait.o waitpid.o dofmt.o fltfmt.o fmt.o fmtfd.o fmtfdflush.o fmtlocale.o fmtlock2.o fmtnull.o fmtprint.o fmtquote.o fmtrune.o fmtstr.o fmtvprint.o fprint.o nan64.o print.o runefmtstr.o runeseprint.o runesmprint.o runesnprint.o runesprint.o runevseprint.o runevsmprint.o runevsnprint.o seprint.o smprint.o snprint.o sprint.o strtod.o vfprint.o vseprint.o vsmprint.o vsnprint.o charstod.o pow10.o rune.o runestrcat.o runestrchr.o runestrcmp.o runestrcpy.o runestrdup.o runestrlen.o runestrecpy.o runestrncat.o runestrncmp.o runestrncpy.o runestrrchr.o runestrstr.o runetype.o utfecpy.o utflen.o utfnlen.o utfrrune.o utfrune.o utfutf.o
+9ar rsc $PLAN9/lib/lib9.a _exits.o _p9dialparse.o _p9dir.o announce.o argv0.o atexit.o atoi.o atol.o atoll.o atnotify.o await.o cistrcmp.o cistrncmp.o cistrstr.o cleanname.o convD2M.o convM2D.o convM2S.o convS2M.o create.o crypt.o ctime.o date.o dial.o dirfstat.o dirfwstat.o dirmodefmt.o dirread.o dirstat.o dirwstat.o dup.o encodefmt.o errstr.o exec.o execl.o exitcode.o fcallfmt.o get9root.o getcallerpc-$OBJTYPE.o getenv.o getfields.o getnetconn.o getns.o getuser.o getwd.o jmp.o lrand.o lnrand.o main.o malloc.o malloctag.o mallocz.o nan.o needsrcquote.o needstack.o netcrypt.o netmkaddr.o notify.o nrand.o nulldir.o open.o opentemp.o pin.o pipe.o post9p.o postnote.o qlock.o quote.o rand.o read9pmsg.o readcons.o readn.o rfork.o searchpath.o seek.o sendfd.o sleep.o strdup.o strecpy.o sysfatal.o syslog.o sysname.o time.o tokenize.o truerand.o u16.o u32.o u64.o unsharp.o wait.o waitpid.o dofmt.o fltfmt.o fmt.o fmtfd.o fmtfdflush.o fmtlocale.o fmtlock2.o fmtnull.o fmtprint.o fmtquote.o fmtrune.o fmtstr.o fmtvprint.o fprint.o nan64.o print.o runefmtstr.o runeseprint.o runesmprint.o runesnprint.o runesprint.o runevseprint.o runevsmprint.o runevsnprint.o seprint.o smprint.o snprint.o sprint.o strtod.o vfprint.o vseprint.o vsmprint.o vsnprint.o charstod.o pow10.o rune.o runestrcat.o runestrchr.o runestrcmp.o runestrcpy.o runestrdup.o runestrlen.o runestrecpy.o runestrncat.o runestrncmp.o runestrncpy.o runestrrchr.o runestrstr.o runetype.o utfecpy.o utflen.o utfnlen.o utfrrune.o utfrune.o utfutf.o
cd ..
cd libbio
echo cd `pwd`
@@ -167,7 +168,7 @@ echo cd `pwd`
9c bseek.c
9c bvprint.c
9c bwrite.c
-9ar rvc $PLAN9/lib/libbio.a bbuffered.o bfildes.o bflush.o bgetc.o bgetrune.o bgetd.o binit.o boffset.o bprint.o bputc.o bputrune.o brdline.o brdstr.o bread.o bseek.o bvprint.o bwrite.o
+9ar rsc $PLAN9/lib/libbio.a bbuffered.o bfildes.o bflush.o bgetc.o bgetrune.o bgetd.o binit.o boffset.o bprint.o bputc.o bputrune.o brdline.o brdstr.o bread.o bseek.o bvprint.o bwrite.o
cd ..
cd libregexp
echo cd `pwd`
@@ -178,7 +179,7 @@ echo cd `pwd`
9c regaux.c
9c rregexec.c
9c rregsub.c
-9ar rvc $PLAN9/lib/libregexp9.a regcomp.o regerror.o regexec.o regsub.o regaux.o rregexec.o rregsub.o
+9ar rsc $PLAN9/lib/libregexp9.a regcomp.o regerror.o regexec.o regsub.o regaux.o rregexec.o rregsub.o
cd ..
cd cmd/mk
echo cd `pwd`
diff --git a/src/mksyslib b/src/mksyslib
index 0096fda2..b9a63cf9 100644
--- a/src/mksyslib
+++ b/src/mksyslib
@@ -1,14 +1,14 @@
default:V: $PLAN9/lib/$LIB
# $PLAN9/lib/$LIB: $OFILES
-# $AR rvc $PLAN9/lib/$LIB $newprereq
+# $AR rsc $PLAN9/lib/$LIB $newprereq
$PLAN9/lib/$LIB(%):N: %
$PLAN9/lib/$LIB: ${OFILES:%=$PLAN9/lib/$LIB(%)}
- $AR rvc $PLAN9/lib/$LIB $newmember
+ $AR rsc $PLAN9/lib/$LIB $newmember
&:n: &.$O
- $AR rvc $PLAN9/lib/$LIB $stem.$O
+ $AR rsc $PLAN9/lib/$LIB $stem.$O
all install:V: $PLAN9/lib/$LIB