Skip to content
Snippets Groups Projects
Commit d21b6683 authored by Guenter Knauf's avatar Guenter Knauf
Browse files

Merge pull request #134 from vszakats/mingw-m64

add -m64 CFLAGS when targeting mingw64, add -m32/-m64 to LDFLAGS
parents 4e58589b acc8089b
No related branches found
No related tags found
No related merge requests found
......@@ -75,7 +75,7 @@ endif
endif
ifeq ($(ARCH),w64)
CFLAGS += -D_AMD64_
CFLAGS += -m64 -D_AMD64_
RCFLAGS += -F pe-x86-64
else
CFLAGS += -m32
......
......@@ -90,10 +90,12 @@ endif
endif
ifeq ($(ARCH),w64)
CFLAGS += -D_AMD64_
CFLAGS += -m64 -D_AMD64_
LDFLAGS += -m64
RCFLAGS += -F pe-x86-64
else
CFLAGS += -m32
LDFLAGS += -m32
RCFLAGS += -F pe-i386
endif
......@@ -340,4 +342,3 @@ endif
distclean vclean: clean
@$(call DEL, $(curl_PROGRAMS))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment