FS#71673 - [meson] Consider adding -Db_ndebug=true to arch-meson
Attached to Project:
Arch Linux
Opened by Jan (medhefgo) - Saturday, 31 July 2021, 13:01 GMT
Last edited by Toolybird (Toolybird) - Monday, 25 September 2023, 04:10 GMT
Opened by Jan (medhefgo) - Saturday, 31 July 2021, 13:01 GMT
Last edited by Toolybird (Toolybird) - Monday, 25 September 2023, 04:10 GMT
|
Details
Without -Db_ndebug=true or -Db_ndebug=if-release, many meson
projects are build without NDEBUG, which results in assert()
getting into production/release builds.
|
This task depends upon
Closed by Toolybird (Toolybird)
Monday, 25 September 2023, 04:10 GMT
Reason for closing: Won't fix
Additional comments about closing: See comments from PM. Also, to address 1 of the comments, Arch now does provide debug pkgs.
Monday, 25 September 2023, 04:10 GMT
Reason for closing: Won't fix
Additional comments about closing: See comments from PM. Also, to address 1 of the comments, Arch now does provide debug pkgs.
arch-meson adverts itself as "Highly opinionated wrapper for Arch Linux packaging". Currently it enables features like lto but can't disable asserts in release builds? Why is that?
BTW: meson has b_ndebug=if-release which I think would suit better.