From 5006148ee57c80a787b275c04587678e9fe0a3f3 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Fri, 14 Mar 2014 16:05:10 -0700 Subject: Remove "Compiled on ..." crapola from version text. --- csu/Makefile | 35 +---------------------------------- 1 file changed, 1 insertion(+), 34 deletions(-) (limited to 'csu/Makefile') diff --git a/csu/Makefile b/csu/Makefile index 5252361ec4..311dbb03d7 100644 --- a/csu/Makefile +++ b/csu/Makefile @@ -131,40 +131,7 @@ all-Banner-files = $(wildcard $(addsuffix /Banner,\ $(sysdeps-srcdirs)))) $(objpfx)version-info.h: $(common-objpfx)config.make $(all-Banner-files) $(make-target-directory) - (case $(config-os) in \ - linux*) version=`(printf '%s\n%s\n' \ - '#include ' \ - UTS_RELEASE \ - | $(CC) $(CPPFLAGS) -O -E -P - -DNOT_IN_libc=1 | \ - sed -e 's/"\([^"]*\)".*/\1/p' -e d) 2>/dev/null`;\ - if [ -z "$$version" ]; then \ - version=`(printf '%s\n%s\n' \ - '#include ' \ - LINUX_VERSION_CODE \ - | $(CC) $(CPPFLAGS) -O -E -P - -DNOT_IN_libc=1 \ - | sed -n -e '/^[123456789].*/p' \ - | awk '{v=$$1; \ - printf("%d.%d.%d\n", \ - v/65535, v/256%256, v%256)}') \ - 2>/dev/null`; \ - fi; \ - if [ -z "$$version" ]; then \ - if [ -r /proc/version ]; then \ - version=`sed 's/.*Linux version \([^ ]*\) .*/>>\1< /dev/null`; \ - if [ -z "$$os" ]; then \ - os=Linux; \ - fi; \ - printf '"Compiled on a %s %s system on %s.\\n"\n' \ - "$$os" "$$version" "`date +%Y-%m-%d`";; \ - *) ;; \ - esac; \ - files="$(all-Banner-files)"; \ + (files="$(all-Banner-files)"; \ if test -n "$$files"; then \ printf '"Available extensions:\\n"\n'; \ sed -e '/^#/d' -e 's/^[[:space:]]*/ /' \ -- cgit 1.4.1