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


Various of the solenv/gbuild/LINUX_*_GCC.mk (namely ARM, AXP, M86K, POWERPC64, S390, S390X) have lines

  gb_CFLAGS += ...
  gb_CXXFLAGS += ...

to add additional flags before including linux.mk. However, these additions appear to not be effective, as unxgcc.mk (included from linux.mk) unconditionally resets those variables via

  gb_CFLAGS := ...
  gb_CXXFLAGS := ...

(Also, moving the additions in the LINUX_*_GCC.mk files after including linux.mk wouldn't appear to help, either, as the ultimate use of these two variables is in

  gb_LinkTarget_CFLAGS := $(gb_CFLAGS)
  gb_LinkTarget_CXXFLAGS := $(gb_CXXFLAGS)

in unxgcc.mk, so the latter variables would still not get the additions. The only correct way appears to be to have

  gb_LinkTarget_CFLAGS += ...
  gb_LinkTarget_CXXFLAGS += ...

in the LINUX_*_GCC.mk files after including linux.mk. Similar problems may be present in other $(OS)_$(CPUNAME)_$(COM) files, too)

Or what am I missing?

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.