diff options
author | Guenter Knauf <lists@gknw.net> | 2014-12-01 16:37:19 +0100 |
---|---|---|
committer | Guenter Knauf <lists@gknw.net> | 2014-12-01 16:39:56 +0100 |
commit | 228f1ee9f2e5eb16adca86a3d4f5062d5cfabcf3 (patch) | |
tree | acf589ff99c4750dfcf68de1253432ce82994562 /lib/Makefile.m32 | |
parent | cf6c5c222d86088cbfc9dee4c23f8ada96ee91e7 (diff) | |
download | curl-228f1ee9f2e5eb16adca86a3d4f5062d5cfabcf3.tar.gz |
build: in Makefile.m32 simplified autodetection.
Diffstat (limited to 'lib/Makefile.m32')
-rw-r--r-- | lib/Makefile.m32 | 3 |
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 |