diff options
-rw-r--r-- | lib/Makefile.m32 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Makefile.m32 b/lib/Makefile.m32 index 7506a01a2..f211074af 100644 --- a/lib/Makefile.m32 +++ b/lib/Makefile.m32 @@ -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 |