summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGunter Knauf <gk@gknw.de>2004-09-03 18:51:36 +0000
committerGunter Knauf <gk@gknw.de>2004-09-03 18:51:36 +0000
commit702f549a6a0126923806132a3b45621f55a8a0af (patch)
tree088d115c629912723f31b7fe28cc7251fd98142e
parent428741d7cfe2ca4bed0d8dc5872ccef6af0da19c (diff)
downloadcurl-702f549a6a0126923806132a3b45621f55a8a0af.tar.gz
fixed nasty warnings with gcc 3.3.
-rw-r--r--ares/Makefile.netware2
-rw-r--r--lib/Makefile.netware2
-rw-r--r--src/Makefile.netware2
3 files changed, 3 insertions, 3 deletions
diff --git a/ares/Makefile.netware b/ares/Makefile.netware
index 1d77e9597..5ce895786 100644
--- a/ares/Makefile.netware
+++ b/ares/Makefile.netware
@@ -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
diff --git a/lib/Makefile.netware b/lib/Makefile.netware
index 0a4da893e..afd9ce71a 100644
--- a/lib/Makefile.netware
+++ b/lib/Makefile.netware
@@ -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
diff --git a/src/Makefile.netware b/src/Makefile.netware
index 5a84ff40d..d3d14fdfc 100644
--- a/src/Makefile.netware
+++ b/src/Makefile.netware
@@ -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