[neon/kde/libkgapi/Neon/unstable] debian: use -O0 as compile fails using -O2 on the C bit

Jonathan Riddell null at kde.org
Tue Aug 24 11:26:16 BST 2021


Git commit 16c6c03e34003f0e51237d146680b101879dfddc by Jonathan Riddell.
Committed on 24/08/2021 at 10:26.
Pushed by jriddell into branch 'Neon/unstable'.

use -O0 as compile fails using -O2 on the C bit

M  +4    -3    debian/rules

https://invent.kde.org/neon/kde/libkgapi/commit/16c6c03e34003f0e51237d146680b101879dfddc

diff --git a/debian/rules b/debian/rules
index b407b27..0b1d721 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,9 +1,10 @@
 #!/usr/bin/make -f
 
-l10npkgs_firstversion_ok := 4:16.04.3-9~
+%:
+	dh $@ --parallel --with kde
 
-include /usr/share/pkg-kde-tools/qt-kde-team/3/debian-qt-kde.mk
-include /usr/share/pkg-kde-tools/qt-kde-team/2/l10n-packages.mk
+override_dh_auto_configure:
+	dh_auto_configure -Skf5 -- -DCMAKE_C_FLAGS="-O0"
 
 override_dh_strip:
 	$(overridden_command) --dbgsym-migration='libkf5gapi-dbg (<= 5.1.0-2~1.gbp16a3a9~)'


More information about the Neon-commits mailing list