Skip to content

Commit d2d8823

Browse files
committed
Add TODO about .pyx containing too many to resolved symbols related to gdptr_*
1 parent c0f183e commit d2d8823

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

meson.build

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,11 @@ project(
2525
]
2626
)
2727

28+
# TODO: When compiling a .pyx, we need to find a way to remove all the gdptrs_* symbols
29+
# (declared as extern in `gdptrs.pxd`) that somehow end up in the final shared library
30+
# even if they are not used!
31+
# add_global_arguments('-ffunction-sections', '-fdata-sections', language: ['c'])
32+
# add_project_link_arguments('-Wl,--gc-sections', language: ['c'])
2833

2934
host_platform = '@0@-@1@'.format(host_machine.system(), host_machine.cpu_family())
3035
if (

0 commit comments

Comments
 (0)