From a4aac27fd3137c58de2076e60f1b96b6e22ccfbd Mon Sep 17 00:00:00 2001 From: Gunter Knauf Date: Sat, 3 Jul 2004 19:58:01 +0000 Subject: [PATCH] killed warning with gcc 3.3.1 and later when using -O2. --- lib/Makefile.netware | 2 +- src/Makefile.netware | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Makefile.netware b/lib/Makefile.netware index e0c763a..62de981 100644 --- a/lib/Makefile.netware +++ b/lib/Makefile.netware @@ -94,7 +94,7 @@ LDFLAGS = -T AR = ar ARFLAGS = -cq CFLAGS += -fno-builtin -fpack-struct -fpcc-struct-return -CFLAGS += -Wall # -pedantic +CFLAGS += -Wall -Wno-strict-aliasing # -pedantic ifeq ($(LIBARCH),LIBC) PRELUDE = $(SDK_LIBC)/imports/libcpre.gcc.o else diff --git a/src/Makefile.netware b/src/Makefile.netware index 6241a4e..fd05733 100644 --- a/src/Makefile.netware +++ b/src/Makefile.netware @@ -91,7 +91,7 @@ else LD = nlmconv LDFLAGS = -T CFLAGS += -fno-builtin -fpack-struct -fpcc-struct-return -CFLAGS += -Wall # -pedantic +CFLAGS += -Wall -Wno-strict-aliasing # -pedantic ifeq ($(LIBARCH),LIBC) PRELUDE = $(SDK_LIBC)/imports/libcpre.gcc.o else -- 2.7.4