summaryrefslogtreecommitdiffstats
path: root/package/bash/bash44-008.patch
diff options
context:
space:
mode:
authorJérôme Pouiller <jezz@sysmic.org>2016-12-20 14:46:18 +0100
committerPeter Korsgaard <peter@korsgaard.com>2017-02-07 21:45:01 +0100
commit76838f63412a30a358210e457dda4b79f7730624 (patch)
tree5aedfd22c554ac89916fcd73c62186c74afe9eb9 /package/bash/bash44-008.patch
parentd3760efa7b92da74c39f5673c591b4fa14886b76 (diff)
downloadbuildroot-76838f63412a30a358210e457dda4b79f7730624.tar.gz
buildroot-76838f63412a30a358210e457dda4b79f7730624.zip
reproducible: fix DATE/TIME macros in toolchain-wrapper
The use of the __DATE__ and __TIME__ macros are one of the most common sources of non-reproducible binaries. In order to fix that, gcc 7 supports the SOURCE_DATE_EPOCH variable: https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=e3e8c48c4a494d9da741c1c8ea6c4c0b7c4ff934 This patch take advantage of toolchain-wrapper to provide support of SOURCE_DATE_EPOCH to older gcc versions. Function get_source_date_epoch() come directly from gcc git. This work was sponsored by `BA Robotic Systems'. [Peter: use sizeof for character array sizes, make function static, extend commit message, add upstream gcc commit] Signed-off-by: Jérôme Pouiller <jezz@sysmic.org> Reviewed-by: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/bash/bash44-008.patch')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud