about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPaul Pluzhnikov <ppluzhnikov@google.com>2014-02-28 15:59:52 -0800
committerPaul Pluzhnikov <ppluzhnikov@google.com>2014-02-28 15:59:52 -0800
commitdc8069787afab19e6e278722a92568977fc4e15d (patch)
tree5eaa9ea48609f78e0126ee8faf8c167b7fa71132
parent3ba0025a849444bc97426725c88b698beabd8ac2 (diff)
downloadglibc-dc8069787afab19e6e278722a92568977fc4e15d.tar.gz
glibc-dc8069787afab19e6e278722a92568977fc4e15d.tar.xz
glibc-dc8069787afab19e6e278722a92568977fc4e15d.zip
For bit-identical rebuilds, remove `date` invocations. Forward-ported from cl/51218346.
-rw-r--r--README.google5
-rw-r--r--csu/Makefile6
2 files changed, 9 insertions, 2 deletions
diff --git a/README.google b/README.google
index a362f975f0..f4786b854a 100644
--- a/README.google
+++ b/README.google
@@ -79,3 +79,8 @@ nptl/Makefile
   cl/51074128 from eglibc-2.18
   (ppluzhnikov, google-local)
 
+csu/Makefile
+  For bit-identical rebuilds, remove `date` invocations.
+  Forward-ported from cl/51218346 (from cl/37734-p2).
+  (ppluzhnikov, google-local)
+
diff --git a/csu/Makefile b/csu/Makefile
index b5afea0dec..f219421088 100644
--- a/csu/Makefile
+++ b/csu/Makefile
@@ -162,8 +162,10 @@ $(objpfx)version-info.h: $(common-objpfx)config.make $(all-Banner-files)
 		   if [ -z "$$os" ]; then \
 		     os=Linux; \
 		   fi; \
-		   printf '"Compiled on a %s %s system on %s.\\n"\n' \
-			  "$$os" "$$version" "`date +%Y-%m-%d`";; \
+		   # GOOGLE LOCAL: removed 'on %s' and '"`date +%Y-%m-%d`"' \
+		   # to enable bit-identical rebuilds \
+		   printf '"Compiled on a %s %s system.\\n"\n' \
+			 "$$os" "$$version";; \
 	   *) ;; \
 	 esac; \
 	 files="$(all-Banner-files)";				\