[packages/rpm-pld-macros] - remove -DNDEBUG from flags, ver 2.070
baggins
baggins at pld-linux.org
Sun Aug 9 03:29:25 CEST 2026
commit 3623c7af8a04b01d21d8c891e952c63a98db6822
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Sun Aug 9 03:26:29 2026 +0200
- remove -DNDEBUG from flags, ver 2.070
Using -DNDEBUG by default is exteremely harmful as it causes
miscompilation of random projects or libraries that is very hard to
debug.
If Qt really really needs this then it should add it in private cmake
macros.
macros.pld | 2 +-
rpm-pld-macros.spec | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/rpm-pld-macros.spec b/rpm-pld-macros.spec
index b3483eb..92746a1 100644
--- a/rpm-pld-macros.spec
+++ b/rpm-pld-macros.spec
@@ -1,4 +1,4 @@
-%define rpm_macros_rev 2.069
+%define rpm_macros_rev 2.070
%define find_lang_rev 1.42
# split into individual X_prov_ver if there is a reason to desync
%define prov_ver 4.15
diff --git a/macros.pld b/macros.pld
index 23d9743..2793e59 100644
--- a/macros.pld
+++ b/macros.pld
@@ -176,7 +176,7 @@ pakietu oraz przy odpluskwianiu samego pakietu.\
%debugldflags %{nil}
%optldflags -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z,relro -Wl,-z,combreloc %{?use_ld:-Wl,-fuse-ld=%{use_ld}}
-%optcppflags -DNDEBUG -DQT_NO_DEBUG
+%optcppflags -DQT_NO_DEBUG
# common compilation flags
%_fortify_cflags -Wp,-D_FORTIFY_SOURCE=2
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/rpm-pld-macros.git/commitdiff/3623c7af8a04b01d21d8c891e952c63a98db6822
More information about the pld-cvs-commit
mailing list