Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 336618 | Differences between
and this patch

Collapse All | Expand All

(-)qt4-build.eclass?revision=1.103 (-1 / +6 lines)
Lines 18-24 Link Here
18
SRC_URI="http://get.qt.nokia.com/qt/source/${MY_P}.tar.gz"
18
SRC_URI="http://get.qt.nokia.com/qt/source/${MY_P}.tar.gz"
19
LICENSE="|| ( LGPL-2.1 GPL-3 )"
19
LICENSE="|| ( LGPL-2.1 GPL-3 )"
20
20
21
IUSE="aqua debug pch"
21
IUSE="aqua debug pch sse sse2 sse3 ssse3 sse4_1 sse4_2"
22
22
23
[[ ${CATEGORY}/${PN} != x11-libs/qt-xmlpatterns ]] &&
23
[[ ${CATEGORY}/${PN} != x11-libs/qt-xmlpatterns ]] &&
24
[[ ${CATEGORY}/${PN} != x11-themes/qgtkstyle ]] &&
24
[[ ${CATEGORY}/${PN} != x11-themes/qgtkstyle ]] &&
Lines 367-372 Link Here
367
		myconf+=" $(pkg-config --cflags freetype2)"
367
		myconf+=" $(pkg-config --cflags freetype2)"
368
	fi
368
	fi
369
369
370
	local flag
371
	for flag in sse sse2 sse3 ssse3 sse4_1 sse4_2 ; do
372
		use "${flag}" || myconf+=" -no-${flag/_/.}"
373
	done
374
370
	# Disable SSE4.x, since auto-detection is currently broken
375
	# Disable SSE4.x, since auto-detection is currently broken
371
	# Upstream bug http://bugreports.qt.nokia.com/browse/QTBUG-13623
376
	# Upstream bug http://bugreports.qt.nokia.com/browse/QTBUG-13623
372
	[[ ${PV} == "4.7.1" ]] && myconf+=" -no-sse4.1 -no-sse4.2"
377
	[[ ${PV} == "4.7.1" ]] && myconf+=" -no-sse4.1 -no-sse4.2"

Return to bug 336618