From 3fd6590c420e2da31e38659acb651e6416f2fc65 Mon Sep 17 00:00:00 2001 From: Tobias Diez Date: Tue, 24 Dec 2024 11:48:47 +0800 Subject: [PATCH] Add workaround for https://github.com/sagemath/cysignals/issues/194 --- src/meson.build | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/meson.build b/src/meson.build index 1e528727a4f..55dc84b2c27 100644 --- a/src/meson.build +++ b/src/meson.build @@ -134,6 +134,8 @@ add_project_arguments( '-X preliminary_late_includes_cy28=True', language: 'cython', ) +# Disable sanity check as a workaround for https://github.com/sagemath/cysignals/issues/194 +add_project_arguments('-U_FORTIFY_SOURCE', language : ['c', 'cpp']) inc_cpython = include_directories('sage/cpython') inc_rings = include_directories('sage/rings')