source: freewrt/package/liblzo/patches/lzo-cross-compile.patch@ d419478

freewrt_1_0 freewrt_2_0
Last change on this file since d419478 was 475ad56, checked in by Waldemar Brodkorb <wbx@…>, 20 years ago

add OpenWrt trunk revision 3830.

git-svn-id: svn://www.freewrt.org/trunk/freewrt@1 afb5a338-a214-0410-bd46-81f09a774fd1

  • Property mode set to 100644
File size: 1.4 KB
  • lzo-1.08/aclocal.m4

    For some reason the lzo autoconf script uses a local macro that does
    a test for cross-compiles, and assumes that if the build target name
    and the host target name are the same that --host was not specified to
    the configure script. In the uClibc buildroot, this is not the case.
    
    old new  
    205205[
    206206AC_REQUIRE([AC_PROG_CC])
    207207
    208 if test "X$cross_compiling" = Xyes; then
    209   if test "X$build" = "X$host"; then
    210     AC_MSG_ERROR([you are cross compiling - please use the \`--host=' option])
    211   fi
    212 fi
    213 
    214208])
    215209
    216210
  • lzo-1.08/

    old new  
    22822282
    22832283
    22842284
    2285 if test "X$cross_compiling" = Xyes; then
    2286   if test "X$build" = "X$host"; then
    2287     { { echo "$as_me:$LINENO: error: you are cross compiling - please use the \`--host=' option" >&5
    2288 echo "$as_me: error: you are cross compiling - please use the \`--host=' option" >&2;}
    2289    { (exit 1); exit 1; }; }
    2290   fi
    2291 fi
     2285#if test "X$cross_compiling" = Xyes; then
     2286#  if test "X$build" = "X$host"; then
     2287#    { { echo "$as_me:$LINENO: error: you are cross compiling - please use the \`--host=' option" >&5
     2288#echo "$as_me: error: you are cross compiling - please use the \`--host=' option" >&2;}
     2289#   { (exit 1); exit 1; }; }
     2290#  fi
     2291#fi
    22922292
    22932293
    22942294
Note: See TracBrowser for help on using the repository browser.