mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-09 00:07:57 +03:00
dev-qt/qtbase: warn about USE=custom-cflags if have rdrnd
Wouldn't hurt given those that have that enabled and had it working fine may not realize that it's related. For new installs it's less of an issue though, so don't think need to keep this forever. Alternatively could workaround, but I don't want to play in that film again and would rather encourage users to turn this off unless they really need it. As a reminder, for Qt, USE=-custom-cflags does *not* run strip-flags except for qtwebengine. It's a different form of modifications only targeting some simd and similar flags, and other flags will be kept (albeit it does strip LTO unless Qt >=6.10 + >=gcc-15.2 or clang-any where lto bugs no longer been occurring). Bug: https://bugs.gentoo.org/966289 Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
parent
9e4b716f0e
commit
e4f853b3c7
@ -207,6 +207,13 @@ src_prepare() {
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# temporary warning to spare surprised users for whom "it worked before",
|
||||
# will drop this in Qt 6.11 (bug #966289)
|
||||
if use custom-cflags && tc-cpp-is-true __RDRND__ ${CXXFLAGS}; then
|
||||
ewarn "USE=custom-cflags is enabled, and there is a good chance that the build"
|
||||
ewarn "will fail with current CXXFLAGS. Please disable it if have issues."
|
||||
fi
|
||||
|
||||
if use gtk; then
|
||||
# defang automagic dependencies (bug #624960)
|
||||
use X || append-cxxflags -DGENTOO_GTK_HIDE_X11
|
||||
|
||||
@ -207,6 +207,13 @@ src_prepare() {
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# temporary warning to spare surprised users for whom "it worked before",
|
||||
# will drop this in Qt 6.11 (bug #966289)
|
||||
if use custom-cflags && tc-cpp-is-true __RDRND__ ${CXXFLAGS}; then
|
||||
ewarn "USE=custom-cflags is enabled, and there is a good chance that the build"
|
||||
ewarn "will fail with current CXXFLAGS. Please disable it if have issues."
|
||||
fi
|
||||
|
||||
if use gtk; then
|
||||
# defang automagic dependencies (bug #624960)
|
||||
use X || append-cxxflags -DGENTOO_GTK_HIDE_X11
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user