aboutsummaryrefslogtreecommitdiff
path: root/src/mkfile
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2004-10-22 17:04:31 +0000
committerrsc <devnull@localhost>2004-10-22 17:04:31 +0000
commitd371199605e09d56b95de00e9866cf4fea2d8615 (patch)
treed622ed2e214a0863351c1298f0f14b4849062e58 /src/mkfile
parente20b71f455aadd814b6c12320de4f8d17084fed0 (diff)
downloadplan9port-d371199605e09d56b95de00e9866cf4fea2d8615.tar.gz
plan9port-d371199605e09d56b95de00e9866cf4fea2d8615.tar.bz2
plan9port-d371199605e09d56b95de00e9866cf4fea2d8615.zip
run 9c before 9a because gas doesn't exit with non-zero status when the file doesn't exist
Diffstat (limited to 'src/mkfile')
-rw-r--r--src/mkfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mkfile b/src/mkfile
index 87df6c14..d3363c23 100644
--- 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