Changes in / [e46e077:1a57b893]


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure

    re46e077 r1a57b893  
    7474--ssl=...       SSL library to use (gnutls, nss, openssl, bogus, auto)
    7575                                                        $ssl
    76 
    77 --target=...    Cross compilation target                same as host
     76--arch=...  Override target architecture $arch
     77
    7878EOF
    7979                exit;
     
    134134EOF
    135135
    136 if [ -n "$target" ]; then
    137         PKG_CONFIG_PATH=/usr/$target/lib/pkgconfig
    138         PATH=/usr/$target/bin:$PATH
    139         CC=$target-cc
    140         LD=$target-ld
    141 fi
    142 
    143136if [ "$debug" = "1" ]; then
    144137        [ -z "$CFLAGS" ] && CFLAGS=-g
     
    167160echo "CC=$CC" >> Makefile.settings;
    168161
    169 if [ -z "$LD" ]; then
    170         if type ld > /dev/null 2> /dev/null; then
    171                 LD=ld
    172         else
    173                 echo 'Cannot find ld, aborting.'
    174                 exit 1;
    175         fi
    176 fi
    177 
    178 echo "LD=$LD" >> Makefile.settings
     162if [ -n "$LD" ]; then
     163        echo "LD=$LD" >> Makefile.settings;
     164elif type ld > /dev/null 2> /dev/null; then
     165        echo "LD=ld" >> Makefile.settings;
     166else
     167        echo 'Cannot find ld, aborting.'
     168        exit 1;
     169fi
    179170
    180171if [ -z "$PKG_CONFIG" ]; then
     
    514505esac
    515506
    516 if [ -n "$target" ]; then
    517         echo "Cross-compiling for: $target"
    518 fi
    519 
    520507echo
    521508echo 'Configuration done:'
Note: See TracChangeset for help on using the changeset viewer.