aboutsummaryrefslogtreecommitdiff
path: root/lib/Makefile.m32
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Makefile.m32')
-rw-r--r--lib/Makefile.m323
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Makefile.m32 b/lib/Makefile.m32
index de44c66ea..f6ef0a30f 100644
--- a/lib/Makefile.m32
+++ b/lib/Makefile.m32
@@ -67,8 +67,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