2012-10-12 Juan Manuel Guerrero  <juan.guerrero@gmx.de>

	* net/bin/djcommon.mak: Remove -gcoff flag.
	* net/bin/djgpp.mak: Ditto.
	* net/src/makefile.all: Ditto.
	* net/src/tests/makefile.dj: Ditto.
	* net/src/zlib/makefile.all: Ditto.



diff -aprNU5 tmp/bin/djcommon.mak net/bin/djcommon.mak
--- tmp/bin/djcommon.mak	2005-01-14 01:11:28 +0000
+++ net/bin/djcommon.mak	2012-10-12 21:26:04 +0000
@@ -43,11 +43,11 @@ CC_OBJS += $(CC_SRC:.cc=.o)
 WATT32_ROOT = $(subst \,/,$(WATT_ROOT))
 WATTLIB     = $(WATT32_ROOT)/lib/libwatt.a
 MAP_FILE    = $(DJGPP_EXE:.exe=.map)
 
 CC      = gcc
-CFLAGS += -g -gcoff -Wall -DWATT32 -I$(WATT32_ROOT)/inc
+CFLAGS += -g -Wall -DWATT32 -I$(WATT32_ROOT)/inc
 
 ifneq ($(CC_SRC),)
   LFLAGS += -lstdcxx
 endif
 
diff -aprNU5 tmp/bin/djgpp.mak net/bin/djgpp.mak
--- tmp/bin/djgpp.mak	2006-01-02 23:55:52 +0000
+++ net/bin/djgpp.mak	2012-10-12 21:26:02 +0000
@@ -48,11 +48,11 @@ else
   WATTLIB = ../lib/libwatt.a
   EXTRAS  = tiny.c
 endif
 
 CC      = gcc
-CFLAGS += -Wall -W -g -gcoff -O2 -I$(INC_DIR) #-s # strip symbols from .exe
+CFLAGS += -Wall -W -g -O2 -I$(INC_DIR) #-s # strip symbols from .exe
 
 ifeq ($(USE_EXCEPT),1)
   CFLAGS += -DUSE_EXCEPT
   EXTRAS += d:/prog/mw/except/lib/libexc.a
 endif
diff -aprNU5 tmp/src/makefile.all net/src/makefile.all
--- tmp/src/makefile.all	2006-01-14 20:53:46 +0000
+++ net/src/makefile.all	2012-10-12 21:26:06 +0000
@@ -148,11 +148,11 @@ PKT_STUB = pkt_stub.h
 ########################################################################
 
 @ifdef DJGPP
 
 CC     = gcc
-CFLAGS = -O2 -g -gcoff -I. -I../inc -W -Wall -fno-strength-reduce \
+CFLAGS = -O2 -g -I. -I../inc -W -Wall -falign-loops=2 -falign-jumps=2 -falign-functions=2 \
          -ffast-math #-ffunction-sections -fomit-frame-pointer
 
 AS     = as --gdwarf2
 TARGET = ../lib/libwatt.a
 OBJDIR = djgpp
diff -aprNU5 tmp/src/tests/makefile.dj net/src/tests/makefile.dj
--- tmp/src/tests/makefile.dj	2005-11-06 18:01:48 +0000
+++ net/src/tests/makefile.dj	2012-10-12 21:26:04 +0000
@@ -15,11 +15,11 @@ MAKE_MAPFILE = 0
 HAVE_IPV6 = 1
 
 VPATH = ..
 
 CC     = gcc.exe
-CFLAGS = -Wall -O2 -g -gcoff -I.. -I../../inc -DTEST_PROG -DWATT32
+CFLAGS = -Wall -O2 -g -I.. -I../../inc -DTEST_PROG -DWATT32
 
 PROGS  = btree.exe ip4_frag.exe socktest.exe ioctl.exe bind.exe  \
          gethost.exe sel.exe syslog.exe fsext.exe pc_cbrk.exe    \
          cpu.exe cpuspeed.exe chksum.exe gettod.exe udp_srv.exe  \
          udp_test.exe oldstuff.exe ttime.exe getserv.exe         \
diff -aprNU5 tmp/src/zlib/makefile.all net/src/zlib/makefile.all
--- tmp/src/zlib/makefile.all	2006-01-12 17:26:46 +0000
+++ net/src/zlib/makefile.all	2012-10-12 21:26:04 +0000
@@ -41,11 +41,11 @@ OBJS = $(OBJDIR)\adler32.obj  $(OBJDIR)\
 ########################################################################
 
 @ifdef DJGPP
 
 CC     = gcc
-CFLAGS = -O2 -g -gcoff -W -Wall -I../../inc
+CFLAGS = -O2 -g -W -Wall -I../../inc
 OBJDIR = ../djgpp
 
 OBJS := $(subst \,/,$(OBJS))
 OBJS := $(OBJS:.obj=.o)
 
