summaryrefslogtreecommitdiff
path: root/package/gcc
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2009-11-22 16:08:36 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2009-11-22 16:08:36 +0100
commitc111f14db1b4558ebf5b2e894315c8e5217bf6fc (patch)
treec0c325248db1d0c1bb763880a178536fd09564e6 /package/gcc
parentd8cb09edc83a200d5c4f73ce3f0b312de7342b53 (diff)
make bulk build on Debian/lenny x86 complete
- fix some menu descriptions - fix gcc package compile
Diffstat (limited to 'package/gcc')
-rw-r--r--package/gcc/Makefile3
-rw-r--r--package/gcc/patches/cross-gcc-fix.patch13
2 files changed, 14 insertions, 2 deletions
diff --git a/package/gcc/Makefile b/package/gcc/Makefile
index cbd9ee0db..b2f6266ef 100644
--- a/package/gcc/Makefile
+++ b/package/gcc/Makefile
@@ -15,11 +15,10 @@ $(eval $(call PKG_template,GCC,gcc,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},
TCFLAGS:= ''
TCPPFLAGS:= ''
-CONFIGURE_STYLE= gnu
+CONFIGURE_STYLE:= gnu
ifeq ($(ADK_LINUX_MIPS64_LEMOTE),y)
CONFIGURE_ARGS+= --with-abi=64
endif
-CONFIGURE_ENV+= ac_cv_func_fputc_unlocked=no
CONFIGURE_ARGS+= --enable-languages=c,c++ \
--libexecdir=/usr/lib \
--host=$(REAL_GNU_TARGET_NAME) \
diff --git a/package/gcc/patches/cross-gcc-fix.patch b/package/gcc/patches/cross-gcc-fix.patch
new file mode 100644
index 000000000..9b5d55318
--- /dev/null
+++ b/package/gcc/patches/cross-gcc-fix.patch
@@ -0,0 +1,13 @@
+diff -Nur gcc-4.4.2.orig/gcc/Makefile.in gcc-4.4.2/gcc/Makefile.in
+--- gcc-4.4.2.orig/gcc/Makefile.in 2009-07-25 19:53:35.000000000 +0200
++++ gcc-4.4.2/gcc/Makefile.in 2009-11-22 15:30:27.000000000 +0100
+@@ -898,7 +898,8 @@
+ # Likewise. Put INCLUDES at the beginning: this way, if some autoconf macro
+ # puts -I options in CPPFLAGS, our include files in the srcdir will always
+ # win against random include files in /usr/include.
+-ALL_CPPFLAGS = $(INCLUDES) $(CPPFLAGS)
++#ALL_CPPFLAGS = $(INCLUDES) $(CPPFLAGS)
++ALL_CPPFLAGS = $(INCLUDES)
+
+ # Build and host support libraries.
+ LIBIBERTY = ../libiberty/libiberty.a