summaryrefslogtreecommitdiff
path: root/odk
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@centrum.cz>2021-09-20 00:53:33 +0000
committerLuboš Luňák <l.lunak@collabora.com>2021-09-20 22:50:31 +0200
commit36f76223193fb96df7b8cbc1a1ff30f739857189 (patch)
treeaebaaf6ef3c06f113fd1581cd8d81a3d6038f2d0 /odk
parentc9c9d40f79f1767a0a824fc421f2e476c3f24eb8 (diff)
use clang-cl's -Zc:dllexportInlines- for Skia (tdf#144598)
This is clang-cl's equivalent of -fvisibility-inlines-hidden, and it seems to be also sort of the equivalent of MSVC's -Zc:inline. So it saves build time and disk space. As an additional effect, this disables emitting copies of inlines functions in every .o file where the function is called (even if inlined), which means that it hopefully avoids the problem of SkOpts_avx.cpp generating a copy of SkRect::round() which would include AVX code, and the linker might select this as the instance of SkRect::round() to keep, thus making SSE2 code call AVX code without checking for AVX availability first. Change-Id: I97541ae11d05f489894bc9233271eb21fd520f43 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122335 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
Diffstat (limited to 'odk')
0 files changed, 0 insertions, 0 deletions