Browse Source

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>
Peter S. Mazinger 14 years ago
parent
commit
a46c18e3ee
2 changed files with 1 additions and 5 deletions
  1. 1 2
      Makefile.in
  2. 0 3
      include/features.h

+ 1 - 2
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 \

+ 0 - 3
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...