summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2009-10-17 00:03:53 +0200
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2009-11-19 21:59:39 +0100
commita46c18e3ee62ea2e5c0498d1ef1ca2afb47f3022 (patch)
tree3c56c584b1695671f9151e999b815dea5d9d0ede
parentc356796c330ec98fdbe5b9daba0ba386fb643540 (diff)
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 <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
-rw-r--r--Makefile.in3
-rw-r--r--include/features.h3
2 files changed, 1 insertions, 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 <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...