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

Added -m32 to CFLAGS to compile with x86_64 gcc.

This commit is contained in:
Guenter Knauf 2011-02-13 14:31:22 +01:00
parent e36c039a07
commit c2dff28c41
2 changed files with 2 additions and 0 deletions

View File

@ -145,6 +145,7 @@ AR = ar
ARFLAGS = -cq ARFLAGS = -cq
LIBEXT = a LIBEXT = a
RANLIB = ranlib RANLIB = ranlib
CFLAGS += -m32
CFLAGS += -fno-builtin -fpcc-struct-return -fno-strict-aliasing CFLAGS += -fno-builtin -fpcc-struct-return -fno-strict-aliasing
CFLAGS += -Wall # -pedantic CFLAGS += -Wall # -pedantic
ifeq ($(LIBARCH),LIBC) ifeq ($(LIBARCH),LIBC)

View File

@ -140,6 +140,7 @@ else
LD = nlmconv LD = nlmconv
LDFLAGS = -T LDFLAGS = -T
LIBEXT = a LIBEXT = a
CFLAGS += -m32
CFLAGS += -fno-builtin -fpcc-struct-return -fno-strict-aliasing CFLAGS += -fno-builtin -fpcc-struct-return -fno-strict-aliasing
CFLAGS += -Wall # -pedantic CFLAGS += -Wall # -pedantic
ifeq ($(LIBARCH),LIBC) ifeq ($(LIBARCH),LIBC)