]> granicus.if.org Git - curl/commitdiff
killed warning with gcc 3.3.1 and later when using -O2.
authorGunter Knauf <gk@gknw.de>
Sat, 3 Jul 2004 19:58:01 +0000 (19:58 +0000)
committerGunter Knauf <gk@gknw.de>
Sat, 3 Jul 2004 19:58:01 +0000 (19:58 +0000)
lib/Makefile.netware
src/Makefile.netware

index e0c763ab1c4cbb60f77ad07e10bc94c1f81a731c..62de9813d0757fc571afc82978e6b84cb9a5c363 100644 (file)
@@ -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
index 6241a4e184faa59360c7eabc527f70356d4473f4..fd05733a7362055a36bc71a2205fd0da160004ca 100644 (file)
@@ -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