aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile.m32
diff options
context:
space:
mode:
Diffstat (limited to 'src/Makefile.m32')
-rw-r--r--src/Makefile.m323
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Makefile.m32 b/src/Makefile.m32
index 4f1c99bdd..22269298c 100644
--- a/src/Makefile.m32
+++ b/src/Makefile.m32
@@ -82,8 +82,7 @@ STRIP = $(CROSSPREFIX)strip -g
# Set environment var ARCH to your architecture to override autodetection.
ifndef ARCH
-TARGET := $(shell $(CC) -dumpmachine)
-ifeq ($(findstring x86_64,$(TARGET)),x86_64)
+ifeq ($(findstring x86_64,$(shell $(CC) -dumpmachine)),x86_64)
ARCH = w64
else
ARCH = w32