aboutsummaryrefslogtreecommitdiff
path: root/src/mkmk.sh
diff options
context:
space:
mode:
authorBen Huntsman <BHuntsman@mail2.cu-portland.edu>2020-05-04 19:52:02 -0700
committerRuss Cox <rsc@swtch.com>2020-05-07 20:36:03 -0400
commit4982d4ebc3bd4924d73f2f2ad584309e9ec97435 (patch)
tree64391bc34075ce7fe5d9a2f6ad50c71f27e428c3 /src/mkmk.sh
parentc3c9c7b6ae7c6a8bf9c6d040d3af89e020fd92de (diff)
downloadplan9port-4982d4ebc3bd4924d73f2f2ad584309e9ec97435.tar.gz
plan9port-4982d4ebc3bd4924d73f2f2ad584309e9ec97435.tar.bz2
plan9port-4982d4ebc3bd4924d73f2f2ad584309e9ec97435.zip
all: update build scripts to fix AIX XL/C compatibility
Diffstat (limited to 'src/mkmk.sh')
-rw-r--r--src/mkmk.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mkmk.sh b/src/mkmk.sh
index dae87ddf..0d52d3f9 100644
--- a/src/mkmk.sh
+++ b/src/mkmk.sh
@@ -211,5 +211,9 @@ echo cd `pwd`
9c word.c
9c unix.c
9l -o o.mk arc.o archive.o bufblock.o env.o file.o graph.o job.o lex.o main.o match.o mk.o parse.o recipe.o rc.o rule.o run.o sh.o shell.o shprint.o symtab.o var.o varsub.o word.o unix.o
-install o.mk $PLAN9/bin/mk
+if [ `uname` = AIX ]; then
+ installbsd o.mk $PLAN9/bin/mk
+else
+ install o.mk $PLAN9/bin/mk
+fi
cd ..