kbuild: remove cc-option test of -Werror=date-time
authorMasahiro Yamada <masahiroy@kernel.org>
Thu, 10 Sep 2020 13:51:20 +0000 (22:51 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Thu, 24 Sep 2020 15:36:50 +0000 (00:36 +0900)
commit87de84c9140e1ccb221c68bb7e4939e880b3f2bb
treefc27841aa1f9b755452bafa5818cc25f9704dc7e
parent7d4eb0d8e229fa51e14f0f85de03c02880e7d742
kbuild: remove cc-option test of -Werror=date-time

The minimal compiler versions, GCC 4.9 and Clang 10 support this flag.

Here is the godbolt:
https://godbolt.org/z/xvjcMa

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Nathan Chancellor <natechancellor@gmail.com>
Acked-by: Will Deacon <will@kernel.org>
Makefile
arch/arm64/kernel/vdso32/Makefile