about summary refs log tree commit diff
path: root/csu/Makefile
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-03-08 21:31:23 +0000
committerUlrich Drepper <drepper@redhat.com>2004-03-08 21:31:23 +0000
commitb30542fb71312ed7544a2d356a8fd589430090a5 (patch)
tree4494c2147be2e250c64236eadc0b65a677094243 /csu/Makefile
parentf79c3f28a601f197b89409ff3aa0d3c3949b8210 (diff)
downloadglibc-b30542fb71312ed7544a2d356a8fd589430090a5.tar.gz
glibc-b30542fb71312ed7544a2d356a8fd589430090a5.tar.xz
glibc-b30542fb71312ed7544a2d356a8fd589430090a5.zip
Update.
2004-03-08  Ulrich Drepper  <drepper@redhat.com>

	* Makerules: Use extra-modules.mk if modules-names is defined.
	* extra-modules.mk: New file.
	* dlfcn/Makefile (CPPFLAGS-modcxaatexit.c): Removed.
	* elf/Makefile (CFLAGS-interp.c): Add -DNOT_IN_libc=1.
	* csu/Makefile ($(objpfx)version-info.h): Pass -DNOT_IN_libc=1 to
	compiler.
	* Makefile (distribute): Add symbol-hacks.h.
	* sysdeps/generic/symbol-hacks.h: New file.
	* sysdeps/wordsize-32/symbol-hacks.h: New file.
	* sysdeps/wordsize-32/divdi3.c: Define *_internal aliases for __divdi3,
	__moddi3, __udivdi3, and __umoddi3.
	* include/libc-symbols.h: Include <symbol-hacks.h>.
Diffstat (limited to 'csu/Makefile')
-rw-r--r--csu/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/csu/Makefile b/csu/Makefile
index b1fd32d7a6..f400a58686 100644
--- a/csu/Makefile
+++ b/csu/Makefile
@@ -1,5 +1,5 @@
 # Makefile for csu code for GNU C library.
-# Copyright (C) 1995,96,97,98,99,2000,01,02,2003 Free Software Foundation, Inc.
+# Copyright (C) 1995-2003, 2004 Free Software Foundation, Inc.
 # This file is part of the GNU C Library.
 
 # The GNU C Library is free software; you can redistribute it and/or
@@ -217,7 +217,7 @@ $(objpfx)version-info.h: $(common-objpfx)config.make $(all-Banner-files)
 	$(make-target-directory)
 	(case $(config-os) in \
 	   linux*) version=`(echo -e "#include <linux/version.h>\nUTS_RELEASE"\
-			     | $(CC) $(CPPFLAGS) -E -P - | \
+			     | $(CC) $(CPPFLAGS) -E -P - -DNOT_IN_libc=1 | \
 			     sed -e 's/"\([^"]*\)".*/\1/p' -e d) 2>/dev/null`;\
 		   if [ -z "$$version" ]; then \
 		     if [ -r /proc/version ]; then \