From cf73aec91471e00fa7cc889045288b43bb4d6d28 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nuno=20Gon=C3=A7alves?= Date: Tue, 4 Oct 2022 12:15:26 +0100 Subject: [PATCH] package/linux: don't leak host timezone into linux version string MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Nuno Gonçalves Signed-off-by: Yann E. MORIN (cherry picked from commit a848418db4f956486a17dedc08f09803b26c84a1) Signed-off-by: Peter Korsgaard --- linux/linux.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linux/linux.mk b/linux/linux.mk index ffe68ded9d..1b54fb561d 100644 --- a/linux/linux.mk +++ b/linux/linux.mk @@ -162,7 +162,7 @@ LINUX_MAKE_ENV += \ KBUILD_BUILD_VERSION=1 \ KBUILD_BUILD_USER=buildroot \ KBUILD_BUILD_HOST=buildroot \ - KBUILD_BUILD_TIMESTAMP="$(shell LC_ALL=C date -d @$(SOURCE_DATE_EPOCH))" + KBUILD_BUILD_TIMESTAMP="$(shell LC_ALL=C TZ='UTC' date -d @$(SOURCE_DATE_EPOCH))" endif # gcc-8 started warning about function aliases that have a