HAOUAS Elyes has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/33678
Change subject: Makefile: Use -Wold-style-definition ......................................................................
Makefile: Use -Wold-style-definition
Warn if an old-style function definition is used.
Change-Id: I0180ff7d4898cd468ff86bcf821656537e4a7edb Signed-off-by: Elyes HAOUAS ehaouas@noos.fr --- M 3rdparty/vboot M Makefile.inc 2 files changed, 2 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/78/33678/1
diff --git a/3rdparty/vboot b/3rdparty/vboot index dac763c..850ac8f 160000 --- a/3rdparty/vboot +++ b/3rdparty/vboot @@ -1 +1 @@ -Subproject commit dac763c782ce05476dec02e855f349d2b6f3a910 +Subproject commit 850ac8f2ff6c5fa0dbdf9c8137bcc22a9546ace0 diff --git a/Makefile.inc b/Makefile.inc index 7ac0a82..73fd401 100644 --- a/Makefile.inc +++ b/Makefile.inc @@ -401,7 +401,7 @@
CFLAGS_common += -pipe -g -nostdinc -std=gnu11 CFLAGS_common += -nostdlib -Wall -Wundef -Wstrict-prototypes -Wmissing-prototypes -CFLAGS_common += -Wwrite-strings -Wredundant-decls -Wno-trigraphs +CFLAGS_common += -Wwrite-strings -Wredundant-decls -Wno-trigraphs -Wold-style-definition CFLAGS_common += -Wstrict-aliasing -Wshadow -Wdate-time -Wtype-limits CFLAGS_common += -fno-common -ffreestanding -fno-builtin -fomit-frame-pointer CFLAGS_common += -ffunction-sections -fdata-sections -fno-pie