Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@ is_mingw = cc.get_id()=='gcc' and host_machine.system()=='windows'
# Set preprocessor macros
# Disable .c line numbers in exception tracebacks
add_project_arguments('-DCYTHON_CLINE_IN_TRACEBACK=0', language: 'c')
# Disable sanity checking in GNU libc
# This is required because of false positives in the longjmp() check
add_project_arguments('-U_FORTIFY_SOURCE', language: 'c')

# Platform-specific settings
if is_cygwin
Expand Down
5 changes: 4 additions & 1 deletion src/cysignals/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ foreach name, pyx : extensions
cython_args: ['-Wextra'],
dependencies: [py_dep, threads_dep],
install: true,
subdir: 'cysignals'
subdir: 'cysignals',
# Disable sanity checking in GNU libc
# This is required because of false positives in the longjmp() check
c_args: name == 'signals' ? ['-U_FORTIFY_SOURCE'] : [],
)
endforeach
Loading