plan9port

fork of plan9port with libvec, libstr and libsdb
Log | Files | Refs | README | LICENSE

commit d371199605e09d56b95de00e9866cf4fea2d8615
parent e20b71f455aadd814b6c12320de4f8d17084fed0
Author: rsc <devnull@localhost>
Date:   Fri, 22 Oct 2004 17:04:31 +0000

run 9c before 9a because gas doesn't exit with non-zero status when the file doesn't exist

Diffstat:
Msrc/mkfile | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mkfile b/src/mkfile @@ -38,7 +38,7 @@ mkmk.sh:VD: s/'$OBJTYPE'/$OBJTYPE/g s;'$PLAN9';$PLAN9;g s/`membername \$newprereq`/*.o/g - s/9[ac] *getcallerpc-.*/9a getcallerpc-$OBJTYPE.s || 9c getcallerpc-$OBJTYPE.c/ + s/9[ac] *getcallerpc-.*/9c getcallerpc-$OBJTYPE.c || 9a getcallerpc-$OBJTYPE.s/ s/^9[ac] *tas-.*/9a tas-$OBJTYPE.s || 9c tas-$OBJTYPE.c/ ' >$target