Commit 790d1a48 authored by Viktor Szakats's avatar Viktor Szakats Committed by Jay Satiro
Browse files

lib/makefile.m32: add arch -m32/-m64 to LDFLAGS

This fixes using a multi-target mingw distro to build curl .dll for the
non-default target.
(mirroring the same patch present in src/makefile.m32)
parent 1c0f70f5
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -76,9 +76,11 @@ endif

ifeq ($(ARCH),w64)
CFLAGS  += -m64 -D_AMD64_
LDFLAGS += -m64
RCFLAGS += -F pe-x86-64
else
CFLAGS  += -m32
LDFLAGS += -m32
RCFLAGS += -F pe-i386
endif