summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2023-09-04 22:30:59 -0400
committerIonen Wolkens <ionen@gentoo.org>2023-09-05 09:01:13 -0400
commit6497f4c54b22ec759ef4ec7453afe29af0c44211 (patch)
tree5ef8759421700f75c6adc22b05b78718f7b86ae9 /eclass/qt6-build.eclass
parentdev-qt/qtvirtualkeyboard: new qt6 module, add 6.5.2 + live (diff)
downloadgentoo-6497f4c54b22ec759ef4ec7453afe29af0c44211.tar.gz
gentoo-6497f4c54b22ec759ef4ec7453afe29af0c44211.tar.bz2
gentoo-6497f4c54b22ec759ef4ec7453afe29af0c44211.zip
qt6-build.eclass: skip filter-lto if custom-cflags exists
Do not think this is particularly useful, but it is to avoid false advertising when IUSE exists. As usual anyone enabling this is on their own. Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'eclass/qt6-build.eclass')
-rw-r--r--eclass/qt6-build.eclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/qt6-build.eclass b/eclass/qt6-build.eclass
index 187427dd04da..0fa3091f8106 100644
--- a/eclass/qt6-build.eclass
+++ b/eclass/qt6-build.eclass
@@ -119,7 +119,7 @@ qt6-build_src_prepare() {
#
# Does not manifest itself with clang:16 (did with gcc-13.2.0), but
# still assumed to be generally unsafe either way in current state.
- filter-lto
+ in_iuse custom-cflags && use custom-cflags || filter-lto
}
# @FUNCTION: qt6-build_src_configure