Added -m32 to CFLAGS to compile with x86_64 gcc.
authorGuenter Knauf <lists@gknw.net>
Sun, 13 Feb 2011 13:31:22 +0000 (14:31 +0100)
committerGuenter Knauf <lists@gknw.net>
Sun, 13 Feb 2011 13:31:22 +0000 (14:31 +0100)
lib/Makefile.netware
src/Makefile.netware

index 075d67e..642f051 100644 (file)
@@ -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)
index 98e1ddc..ebfbcb5 100644 (file)
@@ -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)