From 228f1ee9f2e5eb16adca86a3d4f5062d5cfabcf3 Mon Sep 17 00:00:00 2001 From: Guenter Knauf Date: Mon, 1 Dec 2014 16:37:19 +0100 Subject: build: in Makefile.m32 simplified autodetection. --- lib/Makefile.m32 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lib') 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 -- cgit v1.2.3