diff options
author | Jon Turney <jon.turney@dronecode.org.uk> | 2021-05-20 23:12:38 +0100 |
---|---|---|
committer | Jon Turney <jon.turney@dronecode.org.uk> | 2021-05-21 14:19:35 +0100 |
commit | f76c6b8d0a7966ab43d826dc3e19de4ccaa1f7e4 (patch) | |
tree | b2fdc506838b986473de03f51995f08a793f5185 /mesonbuild/backend/xcodebackend.py | |
parent | 91aeae558d018717bba367ec3f427b21206df8fb (diff) | |
download | meson-f76c6b8d0a7966ab43d826dc3e19de4ccaa1f7e4.zip meson-f76c6b8d0a7966ab43d826dc3e19de4ccaa1f7e4.tar.gz meson-f76c6b8d0a7966ab43d826dc3e19de4ccaa1f7e4.tar.bz2 |
Fix LTO test on Cygwin
This partially reverts commit add502c6483bde9dc6a0ba80b3c79163304465a4.
In 'linkshared' test, annotate cppfunc() as imported, so an indirection
through an import stub is generated, avoiding a relocation size error
when building using gcc for Cygwin with LTO on.
Align with the example of how to write this portably in [1].
The 'c' language part of that test already gets this right.
[1] http://gcc.gnu.org/wiki/Visibility
Diffstat (limited to 'mesonbuild/backend/xcodebackend.py')
0 files changed, 0 insertions, 0 deletions