[neon/qt6/qt6-languageserver/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:52:24 BST 2023
Git commit 0faea665ef4c6726009dda6bc72d852bd311744f by Carlos De Maine.
Committed on 28/10/2023 at 13:48.
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-languageserver/-/commit/0faea665ef4c6726009dda6bc72d852bd311744f
diff --git a/debian/control b/debian/control
index bcb0641..3a250fc 100644
--- a/debian/control
+++ b/debian/control
@@ -6,6 +6,8 @@ Uploaders: Patrick Franz <deltaone at debian.org>, Pino Toscano <pino at debian.org>
Build-Depends: cmake (>= 3.18~),
debhelper-compat (= 13),
mold,
+ g++-12,
+ gcc-12,
ninja-build,
pkg-config,
pkg-kde-tools,
diff --git a/debian/rules b/debian/rules
index 850bef8..a29d737 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,6 +5,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))
cmake_extra_args += -DQT_HOST_PATH=/usr
More information about the Neon-commits
mailing list