]> Git Repo - linux.git/commit
Makefile: Build with -Werror=date-time if the compiler supports it
authorJosh Triplett <[email protected]>
Mon, 23 Dec 2013 21:56:06 +0000 (13:56 -0800)
committerMichal Marek <[email protected]>
Mon, 27 Jan 2014 22:14:13 +0000 (23:14 +0100)
commitfe7c36c7bde12190341722af69358e42171162f3
treedc6d1f645aeee8a5b1e8799242262f2fdc935ab5
parentf9d7f7778c5206d9de34fa500f854f25edb56e4b
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 <[email protected]>
Signed-off-by: Michal Marek <[email protected]>
Makefile
This page took 0.04208 seconds and 4 git commands to generate.