[neon/qt6/qt6-svg/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:51:36 BST 2023


Git commit 4c3476f312ae6cdf29febe9d953688ce706c9c1f by Carlos De Maine.
Committed on 28/10/2023 at 13:51.
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    -0    debian/rules

https://invent.kde.org/neon/qt6/qt6-svg/-/commit/4c3476f312ae6cdf29febe9d953688ce706c9c1f

diff --git a/debian/control b/debian/control
index a9d4aa8..434ebd1 100644
--- a/debian/control
+++ b/debian/control
@@ -8,6 +8,8 @@ Build-Depends: cmake,
                libgl-dev,
                libvulkan-dev [linux-any],
                libxkbcommon-dev,
+               g++-12,
+               gcc-12,
                mold,
                ninja-build,
                pkg-config,
diff --git a/debian/rules b/debian/rules
index c0e0f8c..4c1a7ba 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,6 +4,10 @@ include /usr/share/dpkg/architecture.mk
 
 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
+
 # QT_HOST_PATH isn't passed in cross-builds
 ifneq ($(DEB_BUILD_ARCH),$(DEB_HOST_ARCH))
 	extra_cmake_args += -DQT_HOST_PATH=/usr


More information about the Neon-commits mailing list