mirror of
https://github.com/moparisthebest/curl
synced 2024-12-22 08:08:50 -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:
parent
1c0f70f534
commit
790d1a4816
@ -76,9 +76,11 @@ endif
|
|||||||
|
|
||||||
ifeq ($(ARCH),w64)
|
ifeq ($(ARCH),w64)
|
||||||
CFLAGS += -m64 -D_AMD64_
|
CFLAGS += -m64 -D_AMD64_
|
||||||
|
LDFLAGS += -m64
|
||||||
RCFLAGS += -F pe-x86-64
|
RCFLAGS += -F pe-x86-64
|
||||||
else
|
else
|
||||||
CFLAGS += -m32
|
CFLAGS += -m32
|
||||||
|
LDFLAGS += -m32
|
||||||
RCFLAGS += -F pe-i386
|
RCFLAGS += -F pe-i386
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user