aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Makefile2
-rw-r--r--src/mkhdr1
2 files changed, 2 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile
index 4c890ed4..92cc6fa3 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -1,6 +1,6 @@
../bin/mk: mkmk.sh
SYSNAME=`uname` export SYSNAME; \
- OBJTYPE=`uname -m | sed 's;i.86;386;; s;/.*;;; s; ;;g; s/PowerMacintosh/power/; s/ppc64/power/g; s/ppc/power/g'` export OBJTYPE; \
+ OBJTYPE=`uname -m | sed 's;i.86;386;; s;amd64;x86_64;; s;/.*;;; s; ;;g; s/PowerMacintosh/power/; s/ppc64/power/g; s/ppc/power/g'` export OBJTYPE; \
PATH=`pwd`/../bin:$$PATH export PATH; \
PLAN9=`pwd`/.. export PLAN9; \
sh -x mkmk.sh
diff --git a/src/mkhdr b/src/mkhdr
index 38ea8145..aa428b20 100644
--- a/src/mkhdr
+++ b/src/mkhdr
@@ -1,6 +1,7 @@
SYSNAME=`uname`
OBJTYPE=`uname -m | sed '
s;i.86;386;;
+ s;amd64;x86_64;;
s;/.*;;;
s; ;;g;
s;PowerMacintosh;power;g;