mirror of https://github.com/mirror/busybox.git
- switch Warning Of the Week to wrong or missing prototypes.
e.g. archival/uncompress.c wrongly includes libbb.h instead of busybox.h decompress_bunzip2.c,open_transformer.c don't include the proper "unarchive.h" etc, etc.1_4_stable
parent
a1bccc0ba8
commit
7f77810633
|
@ -198,11 +198,9 @@ else
|
||||||
endif
|
endif
|
||||||
# warn a bit more verbosely for non-release versions
|
# warn a bit more verbosely for non-release versions
|
||||||
ifneq ($(EXTRAVERSION),)
|
ifneq ($(EXTRAVERSION),)
|
||||||
CFLAGS+=$(call check_gcc,-Wformat,)
|
CFLAGS+=$(call check_gcc,-Wstrict-prototypes,)
|
||||||
CFLAGS+=$(call check_gcc,-Wformat=2,)
|
CFLAGS+=$(call check_gcc,-Wmissing-prototypes,)
|
||||||
CFLAGS+=$(call check_gcc,-Wformat-nonliteral,)
|
CFLAGS+=$(call check_gcc,-Wmissing-declarations,)
|
||||||
CFLAGS+=$(call check_gcc,-Wformat-security,)
|
|
||||||
CFLAGS+=$(call check_gcc,-Wformat-y2k,)
|
|
||||||
endif
|
endif
|
||||||
STRIPCMD:=$(STRIP) -s --remove-section=.note --remove-section=.comment
|
STRIPCMD:=$(STRIP) -s --remove-section=.note --remove-section=.comment
|
||||||
ifeq ($(strip $(CONFIG_STATIC)),y)
|
ifeq ($(strip $(CONFIG_STATIC)),y)
|
||||||
|
|
Loading…
Reference in New Issue