From: Bruce Rogers Date: Thu, 27 Jun 2019 16:15:24 +0000 (-0600) Subject: sgabios:Makefile: fix issues of build reproducibility X-Git-Tag: upstream/4.2.1~15 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c0262469f09ef7d68fd7108eb60a025a101eb680;p=tools%2Fqemu-arm-static.git sgabios:Makefile: fix issues of build reproducibility It is desirable to produce the same bits on subsequent builds when the actual code of the package doesn't change. (bsc#1011213) Signed-off-by: Bruce Rogers Signed-off-by: Andreas Färber --- diff --git a/roms/sgabios/Makefile b/roms/sgabios/Makefile index 970b0ff37..d2934c9f6 100644 --- a/roms/sgabios/Makefile +++ b/roms/sgabios/Makefile @@ -14,10 +14,10 @@ # # $Id$ -BUILD_DATE = \"$(shell date -u)\" -BUILD_SHORT_DATE = \"$(shell date -u +%D)\" -BUILD_HOST = \"$(shell hostname)\" -BUILD_USER = \"$(shell whoami)\" +BUILD_DATE = \"$(shell date --date='@$(PACKAGING_TIMESTAMP)' -u)\" +BUILD_SHORT_DATE = \"$(shell date --date='@$(PACKAGING_TIMESTAMP)' -u +%D)\" +BUILD_HOST = \"buildhost\" +BUILD_USER = \"geeko\" CFLAGS := -Wall -Os -m32 -nostdlib