[Buildroot] [PATCH] package: add the duma memory debugging library
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Thu Oct 6 08:16:34 UTC 2011
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
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.
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
More information about the buildroot
mailing list