On Sun, Aug 11, 2024 at 3:17 PM Daniel Sahlberg <daniel.l.sahlb...@gmail.com> wrote: > > Den sön 11 aug. 2024 kl 11:38 skrev Timofei Zhakov <t...@chemodax.net>: >> >> >> I think setting of the most of these options will resolve the issue >> and make the build with CMake more similar to other build systems. >> However, by excluding some options and testing, I noticed that setting >> only of the _GNU_SOURCE definition also worked. > > > Confirmed _GNU_SOURCE also seems to work. > > By the way; when working on the Swig Ruby-bindings, you might want to check > r1915235 on /trunk: > > [[[ > SWIG Ruby bindings cannot build with SWIG 4.2.0 because it produces > a broken external runtime code[1]. So we note it is broken and > block users from building swig-rb with it. > > [1] https://github.com/swig/swig/issues/2751 > ]]]
I studied the issue a bit more, and the reason was funny, because we were retrieving the list of flags from a module already, but it was in incorrect form. I committed the fix as the revision 1919813 and explained the problem in its log message. Thanks! -- Timofei Zhakov