lede-packages-rs

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

001-cross_compile.patch (1219B)


      1 --- a/src/Makefile.in
      2 +++ b/src/Makefile.in
      3 @@ -7761,3 +7761,3 @@ cache_cf.o: cf_parser.cci
      4  cf_gen$(EXEEXT): $(cf_gen_SOURCES) $(cf_gen_DEPENDENCIES) cf_gen_defines.cci
      5 -	$(BUILDCXX) $(BUILDCXXFLAGS) -o $@ $(srcdir)/cf_gen.cc -I$(srcdir) -I$(top_builddir)/include/ -I$(top_builddir)/src
      6 +	g++ -o $@ $(srcdir)/cf_gen.cc -I$(srcdir) -I$(top_builddir)/include/ -I$(top_builddir)/src
      7  
      8 --- a/configure
      9 +++ b/configure
     10 @@ -20133,3 +20133,3 @@ if test "$cross_compiling" = yes; then :
     11  $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     12 -as_fn_error $? "cannot run test program while cross compiling
     13 +_as_fn_error $? "cannot run test program while cross compiling
     14  See \`config.log' for more details" "$LINENO" 5; }
     15 @@ -28289,3 +28289,3 @@ else
     16  $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     17 -as_fn_error $? "cannot run test program while cross compiling
     18 +_as_fn_error $? "cannot run test program while cross compiling
     19  See \`config.log' for more details" "$LINENO" 5; }
     20 @@ -28314,3 +28314,3 @@ else
     21  $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     22 -as_fn_error $? "cannot run test program while cross compiling
     23 +_as_fn_error $? "cannot run test program while cross compiling
     24  See \`config.log' for more details" "$LINENO" 5; }