From c2dff28c418b81bf5d9712003580d45b0666386a Mon Sep 17 00:00:00 2001 From: Guenter Knauf Date: Sun, 13 Feb 2011 14:31:22 +0100 Subject: Added -m32 to CFLAGS to compile with x86_64 gcc. --- lib/Makefile.netware | 1 + src/Makefile.netware | 1 + 2 files changed, 2 insertions(+) diff --git a/lib/Makefile.netware b/lib/Makefile.netware index 075d67ef1..642f051d6 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 98e1ddc14..ebfbcb5f0 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) -- cgit v1.2.3