[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: reverse_cross is supported in gcc-4.2



Hector Oron wrote:
> Hello,
>
>  When DEB_CROSS=yes it looks like it never gets to the 'else' code
> that builds the cross compiler. I have tried following patch
> succesfully.
>
> diff -urN gcc-4.2-4.2-20070707/debian/rules2
> gcc-4.2-4.2-20070707.cross/debian/rules2
> --- gcc-4.2-4.2-20070707/debian/rules2	2007-07-09 17:54:48.000000000 +0200
> +++ gcc-4.2-4.2-20070707.cross/debian/rules2	2007-07-09 17:52:52.000000000 
> +0200
> @@ -542,8 +542,39 @@
> 	dh_testdir
> 	rm -f bootstrap-protocol
> # DEB_CROSS is never set if REVERSE_CROSS is set and vice-versa.
> -ifndef DEB_CROSS
> -ifndef REVERSE_CROSS
> +ifdef DEB_CROSS

It just occured to me this is make, not cpp, so you might want to use
ifneq ($(DEB_CROSS),yes)
instead of
ifndef DEB_CROSS
etc.


Thiemo



Reply to: