Date: prev next · Thread: first prev next last
2013 Archives by date, by thread · List index


Hi Tor, *,

On Wed, Aug 21, 2013 at 11:12 AM, Tor Lillqvist <tml@iki.fi> wrote:
Probably not a good idea to pass a CC environment variable but not a CXX
one.

Passing CC or CXX is a bad idea on MacOSX anyway, as configure does
add necessary compiler flags only when CC or CXX is not set. If you
just set the compiler, then those will be missing.

Even just configuring ccache using this method will break stuff (LO's
autogen/configure has its own method of enabling ccache, but still
this probably is a surprise for many).

Apparently this was done because makefiles for external projects were
badly written and did not make use of the appropirate CDEFS that were
already defined in the LO build system. Putting it into the CC/CXX
made those project happy without having to fix the makefiles (be it
the project's own makefiles or the LO ones)

So as Tor wrote:
" one should not pass CC and CXX at all unless one knows *exactly*
what one is doing."

ciao
Christian

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.