On Fri, Jan 13, 2012 at 12:50 PM, Jo-Philipp Wich <x...@subsignal.org> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> You can suppress this note by ensuring the compiler is called with
> "-fhonour-copts". If the configure script does not respect the CFLAGS
> variable, you can try to redefine CC as
>  CC="$(TARGET_CC) -fhonour-cflags".

I have it configuring now by changing the OpenWRT makefile for Cairo
like this...
I'll do a patch when I have tested more. I am still getting memory
corruption from the luaCairo wrapper which I haven't located yet. I
thought it was pthread support but enabling it didn't fix the problem.

CONFIGURE_VARS+=FONTCONFIG_LIBS="-lfreetype -lfontconfig -lz -lexpat"
PTHREAD_CFLAGS="-fhonour-copts -D_REENTRANT"

CONFIGURE_ARGS+= \
        --enable-freetype=yes \
        --disable-win32 \
        --enable-xlib-xrender=no \
        --enable-pthread=yes \
        $(if $(CONFIG_FEATURE_drawing-backend_DirectFB), --enable-directfb,
--disable-directfb) \
        $(if $(CONFIG_FEATURE_drawing-backend_libX11), --enable-xlib
--with-x, --disable-xlib --without-x)



>
> hth,
> ~ Jow
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAk8QbtAACgkQdputYINPTPPNmgCgkKD60xvcLPnZJUuaMdBklSqt
> CHIAoI5EOfEqrpjnIvwYBWvxz/irZG3w
> =MoOg
> -----END PGP SIGNATURE-----
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel@lists.openwrt.org
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel



-- 
Jon Smirl
jonsm...@gmail.com
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to