вс, 4 нояб. 2018 г. в 19:35, Christian Weisgerber <na...@mips.inka.de>:
>
> Vadim Zhukov:
>
> > > Enter qt5.port.mk:
> > >
> > >   MAKE_FLAGS +=   ${_MODQT5_SETUP}
> > >   ...
> > >   # useful?
> > >   _MODQT5_SETUP +=        CC=${CC} CXX=${CXX}
> > >
> > > This forces CC=cc into the build and breaks it.
> > >
> > > Do we really need this forceful override in all ports that use Qt5?
> >
> > The CXX override was the one really needed, and I've added CC to make
> > things look like similar.
>
> Why do we need the CXX override in the first place?

To make sure we use eg++ when building Qt5 and Qt5-based stuff, while
allowing to use base (or whatever) compiler for arbitrary qmake-based
builds, since qmake can happily build non-Qt stuff as well.

-- 
  WBR,
  Vadim Zhukov

Reply via email to