summaryrefslogtreecommitdiffstatshomepage
path: root/makefile
diff options
context:
space:
mode:
author Olivier Galibert <galibert@pobox.com>2025-04-21 01:04:48 +0200
committer Olivier Galibert <galibert@pobox.com>2025-04-21 01:04:48 +0200
commit9bbb40faaf5ccab1500d01babfb2e5b9161e2c0d (patch)
tree28ad4b67c2c294e856e8b03aaf359c67da8dd5b3 /makefile
parent4faede19051764d6144971a5f609a33e66c13e61 (diff)
Detect x86/x86_64 on linux again
Diffstat (limited to 'makefile')
-rw-r--r--makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/makefile b/makefile
index 75caa4293f9..2fa56c20ee8 100644
--- a/makefile
+++ b/makefile
@@ -169,9 +169,11 @@ ifneq ($(filter x86_64,$(UNAME_P)),)
PLATFORM := x86
else ifneq ($(filter %86,$(UNAME_P)),)
PLATFORM := x86
-endif
-
-ifneq ($(filter alpha,$(UNAME_M)),)
+else ifneq ($(filter x86_64,$(UNAME_M)),)
+PLATFORM := x86
+else ifneq ($(filter %86,$(UNAME_M)),)
+PLATFORM := x86
+else ifneq ($(filter alpha,$(UNAME_M)),)
PLATFORM := alpha
else ifneq ($(filter alpha,$(UNAME_P)),)
PLATFORM := alpha