001-cross_compile.patch 1.2 KB

123456789101112131415161718192021222324
  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. --- a/configure
  8. +++ b/configure
  9. @@ -20133,3 +20133,3 @@ if test "$cross_compiling" = yes; then :
  10. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  11. -as_fn_error $? "cannot run test program while cross compiling
  12. +_as_fn_error $? "cannot run test program while cross compiling
  13. See \`config.log' for more details" "$LINENO" 5; }
  14. @@ -28289,3 +28289,3 @@ else
  15. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  16. -as_fn_error $? "cannot run test program while cross compiling
  17. +_as_fn_error $? "cannot run test program while cross compiling
  18. See \`config.log' for more details" "$LINENO" 5; }
  19. @@ -28314,3 +28314,3 @@ else
  20. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  21. -as_fn_error $? "cannot run test program while cross compiling
  22. +_as_fn_error $? "cannot run test program while cross compiling
  23. See \`config.log' for more details" "$LINENO" 5; }