1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

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)
This commit is contained in:
Viktor Szakats 2015-04-29 12:05:25 +02:00 committed by Jay Satiro
parent 1c0f70f534
commit 790d1a4816

View File

@ -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