From a46c18e3ee62ea2e5c0498d1ef1ca2afb47f3022 Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Sat, 17 Oct 2009 00:03:53 +0200 Subject: rm uClibc_arch_features.h on install uClibc_arch_features.h is included already by libc-symbols.h. If gcc needs it, fix gcc. Signed-off-by: Peter S. Mazinger Signed-off-by: Bernhard Reutner-Fischer --- Makefile.in | 3 +-- include/features.h | 3 --- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/Makefile.in b/Makefile.in index affbe5321..f0a6fb496 100644 --- a/Makefile.in +++ b/Makefile.in @@ -203,6 +203,7 @@ $(top_builddir)extra/scripts/unifdef: $(top_srcdir)extra/scripts/unifdef.c HEADERS_RM- := \ dl-osinfo.h \ _lfs_64.h \ + bits/uClibc_arch_features.h \ bits/kernel_sigaction.h \ bits/kernel_stat.h \ bits/kernel_types.h \ @@ -215,8 +216,6 @@ HEADERS_RM- := \ bits/sigcontextinfo.h \ bits/stackinfo.h \ tls.h - # gcc 4.3.1 needs it, dont rm: - #bits/uClibc_arch_features.h HEADERS_RM-$(UCLIBC_HAS_FLOATS) += \ complex.h \ fpu_control.h \ diff --git a/include/features.h b/include/features.h index 66447e2ed..8a39cc8e0 100644 --- a/include/features.h +++ b/include/features.h @@ -34,9 +34,6 @@ #define __need_uClibc_config_h #include #undef __need_uClibc_config_h -#ifdef _LIBC -#include -#endif /* For uClibc, always optimize for size -- this should disable * a lot of expensive inlining... -- cgit v1.2.3