nova: disable -Wsuggest-override for the kernel

Issue #3159
This commit is contained in:
Norman Feske 2019-02-15 14:48:59 +01:00
parent d9feaa1875
commit 8f2212ea1e

View File

@ -39,6 +39,9 @@ $(error Unsupported environment)
endif
endif
# disable -Wsuggest-override
CC_CXX_WARN_STRICT = -Wextra -Weffc++ -Werror
git_version = $(shell cd $(NOVA_SRC_DIR) && (git rev-parse HEAD 2>/dev/null || echo 0) | cut -c1-7)
CXX_LINK_OPT = -Wl,--gc-sections -Wl,--warn-common -Wl,-static -Wl,-n -Wl,--defsym=GIT_VER=0x$(call git_version)
LD_TEXT_ADDR = # 0xc000000000 - when setting this 64bit compile fails because of relocation issues!!