summaryrefslogtreecommitdiff
path: root/lib/Makefile.m32
diff options
context:
space:
mode:
authorViktor Szakats <vszakats@users.noreply.github.com>2015-01-08 18:19:03 +0100
committerViktor Szakats <vszakats@users.noreply.github.com>2015-01-08 18:19:03 +0100
commitacc8089bc20636067d94778b1dec4fb6b81ccffa (patch)
tree6d18bc8d99fdb8dfae4f822e327a335b03ef7816 /lib/Makefile.m32
parent34636fa47e494735a5ec8b5ec7181ce6688f6f12 (diff)
downloadcurl-acc8089bc20636067d94778b1dec4fb6b81ccffa.tar.gz
add -m64 clags when targeting mingw64, add -m32/-m64 to LDFLAGS
Diffstat (limited to 'lib/Makefile.m32')
-rw-r--r--lib/Makefile.m324
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/Makefile.m32 b/lib/Makefile.m32
index f3673c5a3..92d59f9b2 100644
--- a/lib/Makefile.m32
+++ b/lib/Makefile.m32
@@ -75,7 +75,7 @@ endif
endif
ifeq ($(ARCH),w64)
-CFLAGS += -D_AMD64_
+CFLAGS += -m64 -D_AMD64_
RCFLAGS += -F pe-x86-64
else
CFLAGS += -m32
@@ -323,5 +323,3 @@ $(PROOT)/include/curl/curlbuild.h:
$(LIBCARES_PATH)/libcares.a:
$(MAKE) -C $(LIBCARES_PATH) -f Makefile.m32
-
-