[poky] [PATCH 1/1] x11vnc: add big endian CFLAG for mips, to fix bug 782

Khem Raj raj.khem at gmail.com
Thu Mar 3 21:11:59 PST 2011


On 3/3/2011 7:50 PM, Yu Ke wrote:
> linux mips is big endian, so need "LIBVNCSERVER_WORDS_BIGENDIAN"
> flag for mips compilling.
>
> this patch fix bug [YOCTO #782]
>
> Signed-off-by: Yu Ke<ke.yu at intel.com>
> ---
>   meta/recipes-graphics/x11vnc/x11vnc_0.9.12.bb |    1 +
>   1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/meta/recipes-graphics/x11vnc/x11vnc_0.9.12.bb b/meta/recipes-graphics/x11vnc/x11vnc_0.9.12.bb
> index f5a6662..17e9593 100644
> --- a/meta/recipes-graphics/x11vnc/x11vnc_0.9.12.bb
> +++ b/meta/recipes-graphics/x11vnc/x11vnc_0.9.12.bb
> @@ -17,3 +17,4 @@ SRC_URI[sha256sum] = "60a7cceee2c9a5f1c854340b2bae13f975ac55906237042f81f795b28a
>
>   inherit autotools
>
> +CFLAGS_mips += "-DLIBVNCSERVER_WORDS_BIGENDIAN"

I see that this package uses autconf macro AC_C_BIGENDIAN
to assert endianness. I would interested to know why this test does not 
work.



More information about the poky mailing list