>-----Original Message----- >From: openembedded-core-boun...@lists.openembedded.org >[mailto:openembedded-core-boun...@lists.openembedded.org] On Behalf Of >Khem Raj >Sent: Tuesday, August 02, 2011 1:27 AM >To: Patches and discussions about the oe-core layer >Subject: Re: [OE-core] [PATCH 1/1] python-native: Fix a compiler finding issue > >On (01/08/11 20:41), Mei, Lei wrote: >> >> > >> >You're patching python-native, not python, which means the host python >> >and not the target python. >> >> Yes, but I think this function will be called by python-pycairo, which will >> use >cross compiler name in this function, so we should get the compiler name from >CC. > >so we inject the cross compiler name hardcoded into python and then >python uses it when it needs to do cross compilation ?
No hardcode, I think. Python use the cross compiler name from CC, which will be exported to environment when we do cross compilation. If environment didn't define the CC, the default compiler name will be used, I mean, host compiler name. Thanks Lei > >_______________________________________________ >Openembedded-core mailing list >Openembedded-core@lists.openembedded.org >http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core