]> sourceware.org Git - glibc.git/blobdiff - csu/Makefile
PowerPC: strncpy/stpncpy optimization for PPC64/POWER7
[glibc.git] / csu / Makefile
index 5252361ec4b8d30f49381924faf5c122f5516b4b..311dbb03d7b2fd49f271b6d8bb6dcf4d0a56df59 100644 (file)
@@ -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 <linux/version.h>' \
-                                   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.h>' \
-                                      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<</' \
-                               < /proc/version`; \
-                    else \
-                      version=`uname -r`; \
-                    fi; \
-                  fi; \
-                  os=`uname -s 2> /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:]]*/  /'              \
This page took 0.028405 seconds and 5 git commands to generate.