# HG changeset patch # User Christophe Lincoln # Date 1393716569 -3600 # Node ID 634b097489ad56b672d7f29c849a77c3b6d75428 # Parent e68abb67e0b5f56967263ff89af2820bfa7f2c22 tcc: improve arm support but still not cross compiling diff -r e68abb67e0b5 -r 634b097489ad tcc/receipt --- a/tcc/receipt Sat Mar 01 23:51:38 2014 +0100 +++ b/tcc/receipt Sun Mar 02 00:29:29 2014 +0100 @@ -23,11 +23,17 @@ # Rules to configure and make the package. compile_rules() { - cd $src - ./configure \ - --prefix=/usr \ - --enable-cross \ - $CONFIGURE_ARGS && + case "$ARCH" in + arm) + ./configure \ + --prefix=/usr \ + --cross-prefix=arm-slitaz-linux-gnueabi- \ + --cpu=armv4l ;; + *) + ./configure \ + --prefix=/usr \ + --enable-cross ;; + esac && make && make test && make DESTDIR=$DESTDIR install }