Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 602486
Collapse All | Expand All

(-)a/qt5-build.eclass (-4 / +4 lines)
Lines 112-118 case ${QT5_BUILD_TYPE} in Link Here
112
	release) : ${QT5_BUILD_DIR:=${S}} ;; # workaround for bug 497312
112
	release) : ${QT5_BUILD_DIR:=${S}} ;; # workaround for bug 497312
113
esac
113
esac
114
114
115
IUSE="debug test"
115
IUSE="debug test lto gold pch"
116
116
117
[[ ${PN} == qtwebkit ]] && RESTRICT+=" mirror" # bug 524584
117
[[ ${PN} == qtwebkit ]] && RESTRICT+=" mirror" # bug 524584
118
[[ ${QT5_BUILD_TYPE} == release ]] && RESTRICT+=" test" # bug 457182
118
[[ ${QT5_BUILD_TYPE} == release ]] && RESTRICT+=" test" # bug 457182
Lines 600-609 qt5_base_configure() { Link Here
600
		-no-strip
600
		-no-strip
601
601
602
		# precompiled headers can cause problems on hardened, so turn them off
602
		# precompiled headers can cause problems on hardened, so turn them off
603
		-no-pch
603
		$(use pch && -pch || -no-pch)
604
604
605
		# link-time code generation is not something we want to enable by default
605
		# link-time code generation is not something we want to enable by default
606
		-no-ltcg
606
		$(use lto && echo -ltcg || echo -no-ltcg)
607
607
608
		# reduced relocations cause major breakage on at least arm and ppc, so
608
		# reduced relocations cause major breakage on at least arm and ppc, so
609
		# don't specify anything and let the configure figure out if they are
609
		# don't specify anything and let the configure figure out if they are
Lines 611-617 qt5_base_configure() { Link Here
611
		#-reduce-relocations
611
		#-reduce-relocations
612
612
613
		# let configure automatically detect if GNU gold is available
613
		# let configure automatically detect if GNU gold is available
614
		#-use-gold-linker
614
		$(use gold && echo -use-gold-linker || echo -no-use-gold-linker)
615
615
616
		# disable all platform plugins by default, override in qtgui
616
		# disable all platform plugins by default, override in qtgui
617
		-no-xcb -no-eglfs -no-kms -no-gbm -no-directfb -no-linuxfb -no-mirclient
617
		-no-xcb -no-eglfs -no-kms -no-gbm -no-directfb -no-linuxfb -no-mirclient

Return to bug 602486