[Buildroot] [PATCH] package: add the duma memory debugging library
Baruch Siach
baruch at tkos.co.il
Thu Oct 6 08:49:37 UTC 2011
Hi Thomas, Yann,
On Thu, Oct 06, 2011 at 10:16:34AM +0200, Thomas Petazzoni wrote:
> Le Wed, 5 Oct 2011 19:35:41 +0200,
> "Yann E. MORIN" <yann.morin.1998 at anciens.enib.fr> a écrit :
>
> > > + $(MAKE1) CC=$(TARGET_CC) CXX=$(TARGET_CXX) AR=$(TARGET_AR) \
> > > + RANLIB=$(TARGET_RANLIB) DUMA_OPTIONS=$(strip $(DUMA_OPTIONS)) \
> > > + $(DUMA_CPP) -C $(@D)
> >
> > You forgot to pass HOSTCC, introduced in duma-2_5_15-cross-compile.patch
Well, HOSTCC is set in the top Makefile.
> Probably something like:
>
> $(MAKE1) $(TARGET_CONFIGURE_OPTS) DUMA_OPTIONS=... -C $(@D)
>
> would be even better. But then, the duma-2_5_15-cross-compile.patch
> would have to use CC_FOR_BUILD instead of HOSTCC to find the location
> of the native host compiler.
Looks better. I'll update the patch. Thanks.
baruch
--
~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -
More information about the buildroot
mailing list