kumquat-buildroot/toolchain
John Keeping 408bc354a9 toolchain/toolchain-wrapper: let recent GCC handle SOURCE_DATE_EPOCH
When using precompiled headers, changing any macros defined on the
command line will invalidate the precompiled header.  With
toolchain-wrapper adding __DATE__ and __TIME__, any commits to Buildroot
will invalidate incremental builds regardless of whether the precompiled
header actually uses those values (affecting _OVERRIDE_SRCDIR).

GCC-7 and later support SOURCE_DATE_EPOCH and use it to define __DATE__
and __TIME__ internally, avoiding any impact on precompiled headers.

Disable the custom handling in toolchain-wrapper if GCC is version 7 or
newer.

Signed-off-by: John Keeping <john@metanate.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-06-27 17:19:53 +02:00
..
toolchain
toolchain-buildroot
toolchain-external toolchain/toolchain-external/toolchain-external-custom: add gcc 10 version selection 2020-06-24 21:57:43 +02:00
Config.in toolchain/Config.in: add BR2_TOOLCHAIN_GCC_AT_LEAST_10 blind option 2020-06-24 21:57:43 +02:00
helpers.mk toolchain: adjust version check to allow for single numbers 2020-06-14 22:11:06 +02:00
toolchain-wrapper.c toolchain/toolchain-wrapper: let recent GCC handle SOURCE_DATE_EPOCH 2020-06-27 17:19:53 +02:00
toolchain-wrapper.mk toolchain/toolchain-wrapper: let recent GCC handle SOURCE_DATE_EPOCH 2020-06-27 17:19:53 +02:00
toolchain.mk