From c9413c628d6f71fc06f934953090a9d9f4e53f31 Mon Sep 17 00:00:00 2001 From: Guenter Knauf Date: Sun, 22 Jul 2007 00:47:21 +0000 Subject: [PATCH] changed prelude file for gcc build. --- nw/Makefile.netware | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/nw/Makefile.netware b/nw/Makefile.netware index 6aaba1e5..0536aec6 100644 --- a/nw/Makefile.netware +++ b/nw/Makefile.netware @@ -5,7 +5,7 @@ ## ## Comments to: Guenter Knauf ## -## $Id: Makefile.netware,v 1.11 2007/07/14 21:04:32 gknauf Exp $ +## $Id: Makefile.netware,v 1.12 2007/07/22 00:47:21 gknauf Exp $ # ######################################################################### @@ -131,7 +131,10 @@ CFLAGS += -Wall # -pedantic ifeq ($(LIBARCH),LIBC) PRELUDE = $(SDK_LIBC)/imports/libcpre.gcc.o else - PRELUDE = $(SDK_CLIB)/imports/clibpre.gcc.o + # PRELUDE = $(SDK_CLIB)/imports/clibpre.gcc.o + # to avoid the __init_* / __deinit_* whoes dont use prelude from NDK + # http://www.gknw.net/development/mk_nlm/gcc_pre.zip + PRELUDE = $(NDK_ROOT)/pre/prelude.o CFLAGS += -include $(NDKBASE)/nlmconv/genlm.h endif endif