[neon/qt6/qt6-base/Neon/release] debian: use gcc & g++ 12 as all the lto stuff needs at least that version

Carlos De Maine null at kde.org
Thu Oct 26 07:45:58 BST 2023


Git commit 174562cfdfbe4cb06476abeb7e98d5099993210f by Carlos De Maine.
Committed on 26/10/2023 at 08:45.
Pushed by carlosdem into branch 'Neon/release'.

use gcc & g++ 12 as all the lto stuff needs at least that version

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

https://invent.kde.org/neon/qt6/qt6-base/-/commit/174562cfdfbe4cb06476abeb7e98d5099993210f

diff --git a/debian/control b/debian/control
index 33252df..8bcc31d 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,
                libatspi2.0-dev,
                libb2-dev,
                libbrotli-dev,
diff --git a/debian/rules b/debian/rules
index f868a11..2dd163f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,5 +1,7 @@
 #!/usr/bin/make -f
 #export DH_VERBOSE = 1
+export CC=gcc-12
+export CXX=g++-12
 
 # Use already defined DEB_HOST_* variables.
 include /usr/share/dpkg/architecture.mk


More information about the Neon-commits mailing list