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

Carlos De Maine null at kde.org
Mon Oct 30 01:59:02 GMT 2023


Git commit 5c7625f5be9306be2b3dc6ae3c7cff066637f641 by Carlos De Maine.
Committed on 30/10/2023 at 02:51.
Pushed by carlosdem into branch 'Neon/unstable'.

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

M  +3    -0    debian/control
M  +4    -0    debian/rules

https://invent.kde.org/neon/qt6/pyside6/-/commit/5c7625f5be9306be2b3dc6ae3c7cff066637f641

diff --git a/debian/control b/debian/control
index 0235c3e..3386b10 100644
--- a/debian/control
+++ b/debian/control
@@ -7,10 +7,13 @@ Build-Depends: chrpath,
                cmake,
                debhelper-compat (= 13),
                dh-python,
+               g++-12,
+               gcc-12,
                libclang-14-dev,
                libxml2-dev,
                libxslt1-dev,
                llvm-dev,
+               mold,
                ninja-build,
                patchelf,
                python3-dev,
diff --git a/debian/rules b/debian/rules
index 2ed4389..94af843 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,6 +3,10 @@
 # Uncomment this to turn on verbose mode.
 export DH_VERBOSE=1
 
+# need gcc 12.1 for mold to be able to process --gdb-index
+export CC=gcc-12
+export CXX=g++-12
+
 include /usr/share/dpkg/default.mk
 
 export PYBUILD_NAME=pyside6


More information about the Neon-commits mailing list