]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
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 1d77e9597852450419ef3ea03835edd51c21822a..5ce8957860d649468fa4f2457b133d64e16f6b4c 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 0a4da893e251c1947b6b089cc0ceb7385582d177..afd9ce71a2ff43a6480ddebf7c66dcaa28549ebd 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 5a84ff40d82c75054e3223adc7a2960d7f4ffc74..d3d14fdfcd4d853e541bb743403e68a41e5040a3 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