[neon/qt6/qt6-interfaceframework/Neon/release_jammy] debian: need gcc 12 for mold on jammy
Carlos De Maine
null at kde.org
Sat Jul 27 07:10:13 BST 2024
Git commit aa7417dfa37efe2e8a72560f03eeb8d4a8de1aea by Carlos De Maine.
Committed on 27/07/2024 at 06:09.
Pushed by carlosdem into branch 'Neon/release_jammy'.
need gcc 12 for mold on jammy
M +2 -0 debian/control
M +4 -0 debian/rules
https://invent.kde.org/neon/qt6/qt6-interfaceframework/-/commit/aa7417dfa37efe2e8a72560f03eeb8d4a8de1aea
diff --git a/debian/control b/debian/control
index fff8533..7527bb5 100644
--- a/debian/control
+++ b/debian/control
@@ -5,6 +5,8 @@ Maintainer: KDE neon <neon at kde.org>
Build-Depends: cmake,
debhelper,
debhelper-compat (= 13),
+ g++-12,
+ gcc-12,
mold,
ninja-build,
pkg-config,
diff --git a/debian/rules b/debian/rules
index ad6cc4e..e2abeb2 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,6 +3,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