On Fri, Aug 07, 2015 at 03:15:33PM +0100, Andrea Galbusera wrote: > * upgrade previous patch to avoid wiping CFLAGS. This fixes build on arm > platforms which previously caused an issue due to -fPIC being lost > > Signed-off-by: Andrea Galbusera <[email protected]> > --- > Note: I'm re-sending this beacuse initially sent to the list as a > non-member. > > This patch is inteded to fix a build error when building on arm > platforms. To reproduce the issue just bitbake hiredis for the Yocto > arm reference machine beaglebone. > > The error comes from the -fPIC compiler option being lost due to the > current version of 0001-Makefile-remove-hardcoding-of-CC.patch which > does not honor CFLAGS from the environment. > > The proposed patch is a minimal variation of the current version that > fixes the issue both on a cortexa5 target and the beaglebone. > > The patch was also successfully build tested against qemuarm and qemux86. > > Also available on GitHub at: > https://github.com/gizero/meta-intel-iot-middleware/tree/hiredis-fix-arm-build
Thanks for submitting it's merged on master, I've been on vacation hence the delay :) Cheers, Brendan -- _______________________________________________ meta-intel mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-intel
