]> git.pld-linux.org Git - packages/crossppc-gcc.git/blob - gcc-pr25715.patch
- fix for new gcc
[packages/crossppc-gcc.git] / gcc-pr25715.patch
1 In file included from ../../gcc/libgcc2.c:43:
2 ../../gcc/libgcc2.h:214:3: error: #error "expand the table"
3 ../../gcc/libgcc2.c: In function '__mulhi3':
4 ../../gcc/libgcc2.c:514: error: 'BITS_PER_UNIT' undeclared (first use in this function)
5 ../../gcc/libgcc2.c:514: error: (Each undeclared identifier is reported only once
6 ../../gcc/libgcc2.c:514: error: for each function it appears in.)
7 make[2]: *** [libgcc/./_muldi3.o] Error 1
8
9 --- gcc-4.1-20060106/gcc/mkconfig.sh.orig       2005-06-25 04:02:01.000000000 +0200
10 +++ gcc-4.1-20060106/gcc/mkconfig.sh    2006-01-08 19:41:26.003429750 +0100
11 @@ -64,7 +64,7 @@
12         ;;
13      esac
14      if [ $# -ge 1 ]; then
15 -       echo '#ifdef IN_GCC' >> ${output}T
16 +       echo '#if defined(IN_GCC) || defined(IN_LIBGCC2)' >> ${output}T
17         for file in "$@"; do
18             echo "# include \"$file\"" >> ${output}T
19         done
This page took 0.033846 seconds and 3 git commands to generate.