5cd3a8ec6d
Earlier, no -O flag at all got used in the cairo and pixman builds. Which was sad, as these two libraries are performance-critical. Yes, this change is quick-and-dirty. The proper way would be to modify things in solenv/gbuild. But that is somewhat complicated. In general it seems fairly hard to make sure the same compiler flags get used for every external bundled library. Each external library is a special snowflake, more or less, with a differently structured ExternalProject makefile. For instance for the libwpd library (just picked randomly as an example), even -O2 gets used. (Which as such is OK.) This despite solenv/gbuild/platform/EMSCRIPTEN_INTEL_GCC.mk apparently trying to enforce use of -O1 for Emscripten. This change has a visible impact on the performance of COWASM. Change-Id: I99d74db2da733134fde16661881856f9a81100f9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146009 Tested-by: Jenkins Reviewed-by: Tor Lillqvist <tml@collabora.com> |
||
---|---|---|
.. | ||
cairo | ||
pixman | ||
ExternalPackage_cairo.mk | ||
ExternalPackage_pixman.mk | ||
ExternalProject_cairo.mk | ||
ExternalProject_pixman.mk | ||
Makefile | ||
Module_cairo.mk | ||
README | ||
UnpackedTarball_cairo.mk | ||
UnpackedTarball_pixman.mk |
The graphics library, used for anti-aliasing. From [http://cairographics.org/]. This code is used by default only on Linux, though it is also available on Mac. There is a cairo-canvas implementation that is the main customer, and it is enabled via 'use hardware acceleration' in the general options.