[Pkg-lyx-devel] weird build failure

Per Olofsson pelle at debian.org
Thu Oct 19 13:09:27 UTC 2006


Sven Hoexter:
> On Thu, Oct 19, 2006 at 01:07:27PM +0200, Sven Hoexter wrote:
> 
> > *argh* It's C++ code so this needs to be CXXFLAGS if I'm not completly wrong.
> 
> Next try:
[...]

> +ifeq ($(DEB_HOST_ARCH),hppa)
> +       CXXFLAGS += -ffunction-sections
> +endif
> +
[...]
> What do you think?

I think it's silly that we define both CFLAGS and CXXFLAGS if
everything is C++ code anyway. Perhaps just do CXXFLAGS="$(CXXFLAGS)"
in the configure line?

-- 
Pelle



More information about the Pkg-lyx-devel mailing list