This reverts commit f42f64825b5e663becc3b748c4020ab2d6116343. Apparently there is a bug in GCC - debug build runs fine. Optimizations make it fail.
Unified · Split
| @@ -208,10 +208,6 @@ if sys == 'macos' · 207 unmodified lines | |||
| 208 | native: false, | 208 | native: false, |
| 209 | required: true, | 209 | required: true, |
| 210 | ) | 210 | ) |
| 211 | add_project_arguments( | ||
| 212 | '-DBLZ_NO_LUT', | ||
| 213 | language: 'c', | ||
| 214 | ) | ||
| 215 | cpp = meson.get_compiler('cpp') | 211 | cpp = meson.get_compiler('cpp') |
| 216 | # don't expect NewPtr-returned pointers to be aligned by 8 bytes | 212 | # don't expect NewPtr-returned pointers to be aligned by 8 bytes |
| 217 | # hence just use dlmalloc, which is also a much faster way to go about it | 213 | # hence just use dlmalloc, which is also a much faster way to go about it |