summaryrefslogtreecommitdiff
path: root/eclass/ecm-common.eclass
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-10-16 04:04:29 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-10-16 04:04:29 +0100
commit61a1cada8ceb208845fa604b982216b0a7b099cb (patch)
treed91d334e3ed29648631d4c04be64001120d48e44 /eclass/ecm-common.eclass
parent45392c898b8ba163e95028bd98896e77f0c73806 (diff)
gentoo auto-resync : 16:10:2024 - 04:04:29
Diffstat (limited to 'eclass/ecm-common.eclass')
-rw-r--r--eclass/ecm-common.eclass6
1 files changed, 5 insertions, 1 deletions
diff --git a/eclass/ecm-common.eclass b/eclass/ecm-common.eclass
index c0c2b4f7e644..ba6840d75a6d 100644
--- a/eclass/ecm-common.eclass
+++ b/eclass/ecm-common.eclass
@@ -392,7 +392,11 @@ ecm-common_src_prepare() {
# Passes -DQT_MAJOR_VERSION=${_KFSLOT} only.
ecm-common_src_configure() {
# necessary for at least KF6KCMUtils
- local mycmakeargs=( -DQT_MAJOR_VERSION=${_KFSLOT} )
+ local cmakeargs=( -DQT_MAJOR_VERSION=${_KFSLOT} )
+
+ # allow the ebuild to override what we set here
+ mycmakeargs=("${cmakeargs[@]}" "${mycmakeargs[@]}")
+
cmake_src_configure
}