fixed nasty warnings with gcc 3.3.
authorGunter Knauf <gk@gknw.de>
Fri, 3 Sep 2004 18:51:36 +0000 (18:51 +0000)
committerGunter Knauf <gk@gknw.de>
Fri, 3 Sep 2004 18:51:36 +0000 (18:51 +0000)
ares/Makefile.netware
lib/Makefile.netware
src/Makefile.netware

index 1d77e95..5ce8957 100644 (file)
@@ -88,7 +88,7 @@ LD    = nlmconv
 LDFLAGS        = -T
 AR     = ar
 ARFLAGS        = -cq
-CFLAGS += -fno-builtin -fpack-struct -fpcc-struct-return
+CFLAGS += -fno-builtin -fpack-struct -fpcc-struct-return -fno-strict-aliasing
 CFLAGS += -Wall -Wno-format # -pedantic
 ifeq ($(LIBARCH),LIBC)
        PRELUDE = $(SDK_LIBC)/imports/libcpre.gcc.o
index 0a4da89..afd9ce7 100644 (file)
@@ -93,7 +93,7 @@ LD    = nlmconv
 LDFLAGS        = -T
 AR     = ar
 ARFLAGS        = -cq
-CFLAGS += -fno-builtin -fpack-struct -fpcc-struct-return
+CFLAGS += -fno-builtin -fpack-struct -fpcc-struct-return -fno-strict-aliasing
 CFLAGS += -Wall # -pedantic
 ifeq ($(LIBARCH),LIBC)
        PRELUDE = $(SDK_LIBC)/imports/libcpre.gcc.o
index 5a84ff4..d3d14fd 100644 (file)
@@ -90,7 +90,7 @@ endif
 else
 LD     = nlmconv
 LDFLAGS        = -T
-CFLAGS += -fno-builtin -fpack-struct -fpcc-struct-return
+CFLAGS += -fno-builtin -fpack-struct -fpcc-struct-return -fno-strict-aliasing
 CFLAGS += -Wall # -pedantic
 ifeq ($(LIBARCH),LIBC)
        PRELUDE = $(SDK_LIBC)/imports/libcpre.gcc.o