mirror of
https://github.com/curl/curl.git
synced 2024-11-21 01:16:58 +08:00
killed warning with gcc 3.3.1 and later when using -O2.
This commit is contained in:
parent
5b8816dcb7
commit
a4aac27fd3
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user