lede-packages-rs

git clone git://archive.git.mtrnord.blog/MTRNord/lede-packages-rs.git
Log | Files | Refs | README | LICENSE

002-dont-choke-when-building-32bit-on-64bit.patch (502B)


      1 --- a/gcc/real.h
      2 +++ b/gcc/real.h
      3 @@ -75,9 +75,10 @@
      4     + (REAL_VALUE_TYPE_SIZE%HOST_BITS_PER_WIDE_INT ? 1 : 0)) /* round up */
      5  
      6  /* Verify the guess.  */
      7 +#ifndef __LP64__
      8  extern char test_real_width
      9    [sizeof (REAL_VALUE_TYPE) <= REAL_WIDTH * sizeof (HOST_WIDE_INT) ? 1 : -1];
     10 -
     11 +#endif
     12  /* Calculate the format for CONST_DOUBLE.  We need as many slots as
     13     are necessary to overlay a REAL_VALUE_TYPE on them.  This could be
     14     as many as four (32-bit HOST_WIDE_INT, 128-bit REAL_VALUE_TYPE).