[neon/qt6/qt6-base/Neon/unstable] debian: need gcc 12.1 for mold to be able to process --gdb-index

Carlos De Maine null at kde.org
Sat Oct 28 12:44:18 BST 2023


Git commit 363c706ab15aa5a6cc1e9b7c12002b35b2e1c1c6 by Carlos De Maine.
Committed on 28/10/2023 at 13:44.
Pushed by carlosdem into branch 'Neon/unstable'.

need gcc 12.1 for mold to be able to process --gdb-index

M  +2    -0    debian/control
M  +4    -1    debian/rules

https://invent.kde.org/neon/qt6/qt6-base/-/commit/363c706ab15aa5a6cc1e9b7c12002b35b2e1c1c6

diff --git a/debian/control b/debian/control
index 209289a..05154cf 100644
--- a/debian/control
+++ b/debian/control
@@ -7,6 +7,8 @@ Build-Depends: cmake,
                default-libmysqlclient-dev,
                dh-exec,
                firebird-dev [linux-any],
+               g++-12,
+               gcc-12,
                glslang-tools,
 #               glslc,
                libatspi2.0-dev,
diff --git a/debian/rules b/debian/rules
index bfa1794..213ab6f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,9 +4,12 @@
 # Use already defined DEB_HOST_* variables.
 include /usr/share/dpkg/architecture.mk
 
-#export DEB_BUILD_MAINT_OPTIONS = hardening=+all optimize=+lto -fuse-ld=mold
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all optimize=+lto
 
+# need gcc 12.1 for mold to be able to process --gdb-index
+export CC=gcc-12
+export CXX=g++-12
+
 sslpkgname := $(shell dpkg-query --show '--showformat=$${Depends}' libssl-dev | cut -d ' ' -f1)
 
 ifneq (,$(filter libqt6sql6-ibase,$(shell dh_listpackages)))


More information about the Neon-commits mailing list