mirror of
https://github.com/moparisthebest/curl
synced 2024-11-10 19:45:04 -05:00
build: in Makefile.m32 add -m32 flag for 32bit.
This commit is contained in:
parent
e126ec4fc4
commit
4bc47bec57
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user