From 78b6db855db8cee54764407ffeefe247d5272831 Mon Sep 17 00:00:00 2001 From: Peter Michael Green Date: Sun, 20 Dec 2020 11:14:08 +0000 Subject: [PATCH] Touch yyscript.h and yyscript.c in clean target. --- debian/changelog | 5 +++++ debian/rules | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/debian/changelog b/debian/changelog index 5cefe237b..1ae931f45 100644 --- a/debian/changelog +++ b/debian/changelog @@ -17,6 +17,11 @@ binutils (2.35.1-5+rpi1) bullseye-staging; urgency=medium built on arm64) * Remove build-depends as testsuite is disabled. + [changes introduced in 2.35.1-5+rpi1 by Peter Michael Green] + * Touch gold/yyscript.h and gold/yyscript.c in clean target to ensure they are + newer than yyscript.y and hence stop the upstream build system trying to + regenerate them when building from a git checkout. + -- Peter Micheal Green Sun, 20 Dec 2020 08:27:41 +0000 binutils (2.35.1-5) unstable; urgency=medium diff --git a/debian/rules b/debian/rules index 30dd1fc56..a94c66d9f 100755 --- a/debian/rules +++ b/debian/rules @@ -602,6 +602,11 @@ endif rm -f $${i%*.in}; \ done + #touch these files to ensure they are newer than yyscript.y + #and hence prevent the upstream buildsystem trying to regenerate + #them when building from a git checkout. + touch gold/yyscript.c gold/yyscript.h + rm -f *-stamp ############################################################################### -- 2.30.2