killed warning with gcc 3.3.1 and later when using -O2.

This commit is contained in:
Gunter Knauf 2004-07-03 19:58:01 +00:00
parent 5b8816dcb7
commit a4aac27fd3
2 changed files with 2 additions and 2 deletions

View 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

View 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