aboutsummaryrefslogtreecommitdiffstats
path: root/code/unix
diff options
context:
space:
mode:
Diffstat (limited to 'code/unix')
-rw-r--r--code/unix/Makefile11
1 files changed, 1 insertions, 10 deletions
diff --git a/code/unix/Makefile b/code/unix/Makefile
index 6e428b1..a242852 100644
--- a/code/unix/Makefile
+++ b/code/unix/Makefile
@@ -19,16 +19,7 @@
PLATFORM=$(shell uname|tr A-Z a-z)
PLATFORM_RELEASE=$(shell uname -r)
-ARCH=$(shell uname -m)
-ifeq ($(ARCH),i486)
-ARCH=i386
-endif
-ifeq ($(ARCH),i586)
-ARCH=i386
-endif
-ifeq ($(ARCH),i686)
-ARCH=i386
-endif
+ARCH:=$(shell uname -m | sed -e s/i.86/i386/)
###
### These paths are where you probably want to change things