On Thu, Mar 04, 2021 at 03:30:18PM +0700, Theppitak Karoonboonyanan wrote:
> On Thu, Feb 11, 2021 at 6:27 PM Julian Andres Klode <[email protected]> 
> wrote:
> >
> > In Ubuntu, the attached patch was applied to achieve the following:
> >
> >   * Make build test cross-testable
> 
> In the debdiff:
> 
> +if [ -n "${DEB_HOST_GNU_TYPE:-}" ]; then
> +    CC="$DEB_HOST_GNU_TYPE-g++"
> +    PKGCONFIG="$DEB_HOST_GNU_TYPE-pkg-config"
> +else
> +    CC=gcc
> +    PKGCONFIG=pkg-config
> +fi
> 
> Thanks for proposing this, but how come g++ becomes the compiler
> instead of gcc when cross-compiling?

Typo / Copy-paste mistake :D


-- 
debian developer - deb.li/jak | jak-linux.org - free software dev
ubuntu core developer                              i speak de, en

Reply via email to