[PATCH/committed] ia64: clean up old kernel headers cruft

Message ID 1438074164-11224-1-git-send-email-vapier@gentoo.org
State Committed
Delegated to: Mike Frysinger
Headers

Commit Message

Mike Frysinger July 28, 2015, 9:02 a.m. UTC
  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(-)
  

Patch

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