[neon/kde/spectacle/Neon/release_jammy] debian: make clang use and link to libc++

Carlos De Maine null at kde.org
Wed Jun 5 14:58:33 BST 2024


Git commit 8e838c4c9bd86344cb5b510fc0a4b593aaf78ba1 by Carlos De Maine.
Committed on 05/06/2024 at 13:58.
Pushed by carlosdem into branch 'Neon/release_jammy'.

make clang use and link to libc++

M  +1    -1    debian/control
M  +3    -2    debian/rules

https://invent.kde.org/neon/kde/spectacle/-/commit/8e838c4c9bd86344cb5b510fc0a4b593aaf78ba1

diff --git a/debian/control b/debian/control
index ab6d0e3..9d15512 100644
--- a/debian/control
+++ b/debian/control
@@ -26,7 +26,7 @@ Build-Depends: cmake,
                kf6-kxmlgui-dev,
                kf6-purpose-dev,
                kwayland-dev,
-               libc++-15-dev,
+               libc++-dev,
                libkf6screen-dev,
                libkpipewire-dev,
                liblayershellqtinterface-dev,
diff --git a/debian/rules b/debian/rules
index d850963..77df9fc 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,8 +4,9 @@
 
 export CC=/usr/bin/clang-15
 export CXX=/usr/bin/clang++-15
-export CMAKE_C_COMPILER=clang-15
-export CMAKE_CXX_COMPILER=clang++-15
+export CXXFLAGS="-stdlib=libc++ -std=c++20"
+export LDXX="clang++ -stdlib=libc++" 
+
 
 %:
 	dh $@ --with kf6 --buildsystem kf6 --buildsystem=cmake+ninja


More information about the Neon-commits mailing list