From bc4a9176f865809d6947d2273d449e958c2ce8e2 Mon Sep 17 00:00:00 2001 From: Michael Forney Date: Fri, 24 Mar 2017 12:43:31 -0700 Subject: python: Set DATE and TIME for reproducible builds --- pkg/python/gen.rc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'pkg/python') diff --git a/pkg/python/gen.rc b/pkg/python/gen.rc index e379ed99..50e3c60d 100644 --- a/pkg/python/gen.rc +++ b/pkg/python/gen.rc @@ -9,7 +9,7 @@ cflags=(\ srcs=(\ Modules/^(\ - getbuildinfo.c\ + getbuildinfo.c.o\ getpath.c.o\ main.c\ gcmodule.c\ @@ -153,6 +153,8 @@ build '$outdir'/config.c makesetup '$dir'/Setup '|' '$srcdir'/Modules/^(makesetu cflags $cflags +cc Modules/getbuildinfo.c ; with\ + cflags '$cflags -D ''DATE="Dec 22 2016"'' -D ''TIME="18:38:47"''' cc Modules/getpath.c ; defs='-D '''^(\ 'PYTHONPATH='":plat-linux"\ 'PREFIX='"/"\ -- cgit v1.2.3