aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGunter Knauf <gk@gknw.de>2004-07-03 19:58:01 +0000
committerGunter Knauf <gk@gknw.de>2004-07-03 19:58:01 +0000
commita4aac27fd3137c58de2076e60f1b96b6e22ccfbd (patch)
treea1c65274c1cd7cd783f1a2cda29a5ce9fca7ab20
parent5b8816dcb7c2f7d34749834671b2c0cf0a622f3b (diff)
killed warning with gcc 3.3.1 and later when using -O2.
-rw-r--r--lib/Makefile.netware2
-rw-r--r--src/Makefile.netware2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/Makefile.netware b/lib/Makefile.netware
index e0c763ab1..62de9813d 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 6241a4e18..fd05733a7 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