wok-next rev 10393

cgdb: can't cross (use native)
author Christophe Lincoln <pankso@slitaz.org>
date Mon May 23 19:01:25 2011 +0200 (2011-05-23)
parents 61a57d0ac8d1
children 2ddc0a67b50f
files cgdb/receipt
line diff
     1.1 --- a/cgdb/receipt	Mon May 23 18:59:09 2011 +0200
     1.2 +++ b/cgdb/receipt	Mon May 23 19:01:25 2011 +0200
     1.3 @@ -9,6 +9,7 @@
     1.4  WEB_SITE="http://cgdb.sourceforge.net/"
     1.5  WGET_URL="http://prdownloads.sourceforge.net/cgdb/$TARBALL"
     1.6  TAGS="debugger"
     1.7 +CROSS="error: cannot check for file existence when cross compiling"
     1.8  
     1.9  DEPENDS="gdb ncurses readline"
    1.10  BUILD_DEPENDS="ncurses-dev readline-dev"
    1.11 @@ -16,7 +17,9 @@
    1.12  # Rules to configure and make the package.
    1.13  compile_rules()
    1.14  {
    1.15 -	./configure $CONFIGURE_ARGS && 
    1.16 +	./configure \
    1.17 +		--build=$HOST_SYSTEM \
    1.18 +		--host=$HOST_SYSTEM && 
    1.19  	make && make install
    1.20  }
    1.21