From: Josh Triplett Date: Mon, 23 Dec 2013 21:56:06 +0000 (-0800) Subject: Makefile: Build with -Werror=date-time if the compiler supports it X-Git-Tag: v3.14-rc1~40^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fe7c36c7bde1;p=pandora-kernel.git Makefile: Build with -Werror=date-time if the compiler supports it GCC 4.9 and newer have a new warning -Wdate-time, which warns on any use of __DATE__, __TIME__, or __TIMESTAMP__, which would make the build non-deterministic. Now that the kernel does not use any of those macros, turn on -Werror=date-time if available, to keep it that way. The kernel already (optionally) records this information at build time in a single place; other kernel code should not duplicate that. Signed-off-by: Josh Triplett Signed-off-by: Michal Marek --- Reading git-diff-tree failed