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

Re: how to build packages with a specific complier ?



Hi,

>It appears that some tests fail for one of my package (gmp-ecm) on one architecture (s390x):
>after some investigation, it appears that it is a compiler issue: building with gcc-6 (instead of gcc-5)
>causes no issue. So now I want to impose the gcc-6 to d/rules ? What is the best way to do so ?


Debug and fix gcc-5 is preferred, otherwise something like


add gcc-6 to build dependencies (and g++-6 if needed)

export CC=gcc-6
export CXX=g++-6

should do the trick on most sane build systems.

G.


Reply to: