[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How can I simply test building a package with a different compiler version?

[sorry Eddy, resending this to the ml]

Eddy Petrişor wrote:
On 5/5/06, Fabian Guter <fabian@guternet.de> wrote:

> So to summarize, using `make CXX=g++-4.1' should do.

OK, that looks simple! But how about passing parameters to make when using svn-buildpackage. I looked into the documentation (also of dpkg-buildbackage)
but didn't find anything helpful.
Do I have to build 'by hand' using make or is it possible to 'tunnel'
parameters to make through *-buildpackage?

Export that variable before running svn-buildpackage, or set it for that command

CXX=g++-4.1 svn-buildpackage

or (will polute you environment)

export CXX=g++-4.1

I think this does not work, as he reported yesterday. His makefile
inconditionally sets CXX.

Using this should work:
MAKEFLAGS="CXX=g++-4.1" svn-buildpackage

make will behave as if it has been called using `make CXX=g++-4.1'


Reply to: