add mostlyclean target to setserial
[openwrt.git] / package / liblzo / patches / lzo-cross-compile.patch
1 For some reason the lzo autoconf script uses a local macro that does
2 a test for cross-compiles, and assumes that if the build target name
3 and the host target name are the same that --host was not specified to
4 the configure script. In the uClibc buildroot, this is not the case.
5
6 --- lzo-1.08/aclocal.m4 2002-07-12 18:31:52.000000000 -0700
7 +++ lzo-1.08/aclocal.m4.new 2004-03-10 15:32:42.000000000 -0700
8 @@ -205,12 +205,6 @@
9 [
10 AC_REQUIRE([AC_PROG_CC])
11
12 -if test "X$cross_compiling" = Xyes; then
13 - if test "X$build" = "X$host"; then
14 - AC_MSG_ERROR([you are cross compiling - please use the \`--host=' option])
15 - fi
16 -fi
17 -
18 ])
19
20
21 --- lzo-1.08/configure-dist 2004-03-11 02:18:28.000000000 -0600
22 +++ lzo-1.08/configure 2004-03-11 02:19:16.000000000 -0600
23 @@ -2282,13 +2282,13 @@
24
25
26
27 -if test "X$cross_compiling" = Xyes; then
28 - if test "X$build" = "X$host"; then
29 - { { echo "$as_me:$LINENO: error: you are cross compiling - please use the \`--host=' option" >&5
30 -echo "$as_me: error: you are cross compiling - please use the \`--host=' option" >&2;}
31 - { (exit 1); exit 1; }; }
32 - fi
33 -fi
34 +#if test "X$cross_compiling" = Xyes; then
35 +# if test "X$build" = "X$host"; then
36 +# { { echo "$as_me:$LINENO: error: you are cross compiling - please use the \`--host=' option" >&5
37 +#echo "$as_me: error: you are cross compiling - please use the \`--host=' option" >&2;}
38 +# { (exit 1); exit 1; }; }
39 +# fi
40 +#fi
41
42
43
This page took 0.043426 seconds and 5 git commands to generate.