diff options
-rw-r--r-- | payloads/libpayload/tests/Makefile.inc | 2 | ||||
-rw-r--r-- | tests/Makefile.inc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/payloads/libpayload/tests/Makefile.inc b/payloads/libpayload/tests/Makefile.inc index b59aee6eb6..55c455cf40 100644 --- a/payloads/libpayload/tests/Makefile.inc +++ b/payloads/libpayload/tests/Makefile.inc @@ -43,7 +43,7 @@ TEST_CFLAGS += -I$(cmockasrc)/include TEST_CFLAGS += -Wall -Wundef -Wstrict-prototypes -Wvla TEST_CFLAGS += -Wwrite-strings -Wno-trigraphs -Wimplicit-fallthrough TEST_CFLAGS += -Wstrict-aliasing -Wshadow -Werror -TEST_CFLAGS += -Wno-unknown-warning-option -Wno-source-mgr +TEST_CFLAGS += -Wno-unknown-warning-option -Wno-source-mgr -Wno-main-return-type TEST_CFLAGS += -std=gnu11 -Os -ffunction-sections -fdata-sections -fno-builtin diff --git a/tests/Makefile.inc b/tests/Makefile.inc index d6258da27a..847beaf199 100644 --- a/tests/Makefile.inc +++ b/tests/Makefile.inc @@ -45,7 +45,7 @@ TEST_CFLAGS += -I$(src) -I$(src)/include -I$(src)/commonlib/include \ # Only put conservative warnings here that really detect code that's obviously # unintentional. TEST_CFLAGS += -Wall -Werror -Wundef -Wstrict-prototypes -Wno-inline-asm -TEST_CFLAGS += -Wno-unknown-warning-option -Wno-source-mgr +TEST_CFLAGS += -Wno-unknown-warning-option -Wno-source-mgr -Wno-main-return-type # Path for Kconfig autoheader TEST_CFLAGS += -I$(dir $(TEST_KCONFIG_AUTOHEADER)) |