1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 08:08:50 -05:00

build: in Makefile.m32 add -m32 flag for 32bit.

This commit is contained in:
Guenter Knauf 2014-11-18 14:25:41 +01:00
parent e126ec4fc4
commit 4bc47bec57
2 changed files with 4 additions and 0 deletions

View File

@ -64,6 +64,8 @@ CFLAGS = -g -O2 -Wall
CFLAGS += -fno-strict-aliasing CFLAGS += -fno-strict-aliasing
ifeq ($(ARCH),w64) ifeq ($(ARCH),w64)
CFLAGS += -D_AMD64_ CFLAGS += -D_AMD64_
else
CFLAGS += -m32
endif endif
# comment LDFLAGS below to keep debug info # comment LDFLAGS below to keep debug info
LDFLAGS = -s LDFLAGS = -s

View File

@ -76,6 +76,8 @@ CFLAGS = -g -O2 -Wall
CFLAGS += -fno-strict-aliasing CFLAGS += -fno-strict-aliasing
ifeq ($(ARCH),w64) ifeq ($(ARCH),w64)
CFLAGS += -D_AMD64_ CFLAGS += -D_AMD64_
else
CFLAGS += -m32
endif endif
# comment LDFLAGS below to keep debug info # comment LDFLAGS below to keep debug info
LDFLAGS = -s LDFLAGS = -s