[neon/qt6/qt6-shadertools/Neon/unstable] debian: add fuse-ld=mold
Carlos De Maine
null at kde.org
Sat Oct 28 10:49:27 BST 2023
Git commit 24f2a63a7a470560bbf00285c51b69bfbe84a0cf by Carlos De Maine.
Committed on 28/10/2023 at 11:49.
Pushed by carlosdem into branch 'Neon/unstable'.
add fuse-ld=mold
M +3 -0 debian/rules
https://invent.kde.org/neon/qt6/qt6-shadertools/-/commit/24f2a63a7a470560bbf00285c51b69bfbe84a0cf
diff --git a/debian/rules b/debian/rules
index 36e0143..ebfff5e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,6 +5,9 @@
include /usr/share/dpkg/architecture.mk
export DEB_BUILD_MAINT_OPTIONS = hardening=+all optimize=+lto
+export LDFLAGS_EXTRA += -fuse-ld=mold
+export CXXFLAGS_EXTRA += -fuse-ld=mold
+export CFLAGS_EXTRA += -fuse-ld=mold
# QT_HOST_PATH isn't passed in cross-builds
ifneq ($(DEB_BUILD_ARCH),$(DEB_HOST_ARCH))
More information about the Neon-commits
mailing list