This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[PATCH/committed] ia64: clean up old kernel headers cruft
- From: Mike Frysinger <vapier at gentoo dot org>
- To: libc-alpha at sourceware dot org
- Date: Tue, 28 Jul 2015 05:02:44 -0400
- Subject: [PATCH/committed] ia64: clean up old kernel headers cruft
- Authentication-results: sourceware.org; auth=none
This define made more sense in the pre-sanitized kernel headers days,
but since we require kernel versions that are sanitized, we don't need
this hack anymore.
---
ChangeLog | 5 +++++
sysdeps/unix/sysv/linux/ia64/Makefile | 4 ----
2 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index cf1efcc..b177adc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2015-07-27 Mike Frysinger <vapier@gentoo.org>
+ * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
+ the -D_ASM_IA64_CURRENT_H flag.
+
+2015-07-27 Mike Frysinger <vapier@gentoo.org>
+
[BZ #18641]
* pwd/pwd.h (putpwent): Delete __nonnull markings.
diff --git a/sysdeps/unix/sysv/linux/ia64/Makefile b/sysdeps/unix/sysv/linux/ia64/Makefile
index 359e0c2..1de62c5 100644
--- a/sysdeps/unix/sysv/linux/ia64/Makefile
+++ b/sysdeps/unix/sysv/linux/ia64/Makefile
@@ -21,10 +21,6 @@ ifeq ($(subdir),rt)
librt-routines += rt-sysdep
endif
-# This is a crude attempt to silence the compiler which complains about
-# then 'current' definition in the kernel headers.
-CPPFLAGS += -D_ASM_IA64_CURRENT_H
-
ifeq ($(subdir),nptl)
libpthread-sysdep_routines += __ia64_longjmp unwind_longjmp __sigstack_longjmp
endif
--
2.4.4