lede-packages-rs

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

100-ignore_cross_compile_test.patch (1270B)


      1 --- a/configure	2017-03-08 20:12:00.720885949 +0200
      2 +++ b/configure	2017-03-08 20:12:51.210722711 +0200
      3 @@ -4190,37 +4190,6 @@
      4  
      5  fi
      6  
      7 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking match between Berkeley DB header files and runtime" >&5
      8 -$as_echo_n "checking match between Berkeley DB header files and runtime... " >&6; }
      9 -if test "$cross_compiling" = yes; then :
     10 -  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     11 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     12 -as_fn_error $? "cannot run test program while cross compiling
     13 -See \`config.log' for more details" "$LINENO" 5; }
     14 -else
     15 -  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     16 -/* end confdefs.h.  */
     17 -#include <db.h>
     18 -int
     19 -main ()
     20 -{
     21 -int M, m; db_version(&M, &m, 0);
     22 -			       return DB_VERSION_MAJOR != M || DB_VERSION_MINOR != m;
     23 -  ;
     24 -  return 0;
     25 -}
     26 -_ACEOF
     27 -if ac_fn_c_try_run "$LINENO"; then :
     28 -
     29 -else
     30 -  as_fn_error $? "Berkeley DB header file does not match the library file" "$LINENO" 5
     31 -fi
     32 -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
     33 -  conftest.$ac_objext conftest.beam conftest.$ac_ext
     34 -fi
     35 -
     36 -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     37 -$as_echo "yes" >&6; }
     38  ac_config_files="$ac_config_files Makefile"
     39  
     40  cat >confcache <<\_ACEOF