Skip to content

Commit

Permalink
gc-sections linker arg
Browse files Browse the repository at this point in the history
  • Loading branch information
WillAyd committed Dec 28, 2023
1 parent 1f97b01 commit 1e7d9e8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pandas/_libs/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,8 @@ endforeach
py.extension_module(
'hashtable_cpp',
['hashtable_cpp.pyx'],
cpp_args: ['-ffunction-sections', '-fvisibility=hidden'],
cpp_args: '-ffunction-sections',
link_args: '-Wl,--gc-sections',
cython_args: cython_args,
include_directories: [inc_np, inc_pd],
subdir: 'pandas/_libs',
Expand Down

0 comments on commit 1e7d9e8

Please sign in to comment.