From: Guenter Knauf Date: Sun, 13 Feb 2011 13:31:22 +0000 (+0100) Subject: Added -m32 to CFLAGS to compile with x86_64 gcc. X-Git-Tag: curl-7_21_4~4 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c2dff28c418b81bf5d9712003580d45b0666386a;p=thirdparty%2Fcurl.git Added -m32 to CFLAGS to compile with x86_64 gcc. --- diff --git a/lib/Makefile.netware b/lib/Makefile.netware index 075d67ef10..642f051d66 100644 --- a/lib/Makefile.netware +++ b/lib/Makefile.netware @@ -145,6 +145,7 @@ AR = ar ARFLAGS = -cq LIBEXT = a RANLIB = ranlib +CFLAGS += -m32 CFLAGS += -fno-builtin -fpcc-struct-return -fno-strict-aliasing CFLAGS += -Wall # -pedantic ifeq ($(LIBARCH),LIBC) diff --git a/src/Makefile.netware b/src/Makefile.netware index 98e1ddc14e..ebfbcb5f03 100644 --- a/src/Makefile.netware +++ b/src/Makefile.netware @@ -140,6 +140,7 @@ else LD = nlmconv LDFLAGS = -T LIBEXT = a +CFLAGS += -m32 CFLAGS += -fno-builtin -fpcc-struct-return -fno-strict-aliasing CFLAGS += -Wall # -pedantic ifeq ($(LIBARCH),LIBC)