lzo-cross-compile.patch

来自「最新的文件系统生成工具」· PATCH 代码 · 共 44 行

PATCH
44
字号
For some reason the lzo autoconf script uses a local macro that doesa test for cross-compiles, and assumes that if the build target nameand the host target name are the same that --host was not specified tothe configure script. In the uClibc buildroot, this is not the case.--- lzo-1.08/aclocal.m4	2002-07-12 18:31:52.000000000 -0700+++ lzo-1.08/aclocal.m4.new	2004-03-10 15:32:42.000000000 -0700@@ -205,12 +205,6 @@ [ AC_REQUIRE([AC_PROG_CC]) -if test "X$cross_compiling" = Xyes; then-  if test "X$build" = "X$host"; then-    AC_MSG_ERROR([you are cross compiling - please use the \`--host=' option])-  fi-fi- ])  --- lzo-1.08/configure-dist	2004-03-11 02:18:28.000000000 -0600+++ lzo-1.08/configure	2004-03-11 02:19:16.000000000 -0600@@ -2282,13 +2282,13 @@   -if test "X$cross_compiling" = Xyes; then-  if test "X$build" = "X$host"; then-    { { echo "$as_me:$LINENO: error: you are cross compiling - please use the \`--host=' option" >&5-echo "$as_me: error: you are cross compiling - please use the \`--host=' option" >&2;}-   { (exit 1); exit 1; }; }-  fi-fi+#if test "X$cross_compiling" = Xyes; then+#  if test "X$build" = "X$host"; then+#    { { echo "$as_me:$LINENO: error: you are cross compiling - please use the \`--host=' option" >&5+#echo "$as_me: error: you are cross compiling - please use the \`--host=' option" >&2;}+#   { (exit 1); exit 1; }; }+#  fi+#fi   

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?