OSDN Git Service

rm uClibc_arch_features.h on install
authorPeter S. Mazinger <ps.m@gmx.net>
Fri, 16 Oct 2009 22:03:53 +0000 (00:03 +0200)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Thu, 19 Nov 2009 20:59:39 +0000 (21:59 +0100)
uClibc_arch_features.h is included already by libc-symbols.h.
If gcc needs it, fix gcc.

Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Makefile.in
include/features.h

index affbe53..f0a6fb4 100644 (file)
@@ -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 \
index 66447e2..8a39cc8 100644 (file)
@@ -34,9 +34,6 @@
 #define __need_uClibc_config_h
 #include <bits/uClibc_config.h>
 #undef __need_uClibc_config_h
-#ifdef _LIBC
-#include <bits/uClibc_arch_features.h>
-#endif
 
 /* For uClibc, always optimize for size -- this should disable
  * a lot of expensive inlining...