diff options
Diffstat (limited to 'x11-base/xorg-x11/xorg-x11-6.8.2-r1.ebuild')
-rw-r--r-- | x11-base/xorg-x11/xorg-x11-6.8.2-r1.ebuild | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/x11-base/xorg-x11/xorg-x11-6.8.2-r1.ebuild b/x11-base/xorg-x11/xorg-x11-6.8.2-r1.ebuild index c8e035d56af6..da93fba4d9c9 100644 --- a/x11-base/xorg-x11/xorg-x11-6.8.2-r1.ebuild +++ b/x11-base/xorg-x11/xorg-x11-6.8.2-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-base/xorg-x11/xorg-x11-6.8.2-r1.ebuild,v 1.18 2005/04/26 22:55:57 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-base/xorg-x11/xorg-x11-6.8.2-r1.ebuild,v 1.19 2005/05/28 07:02:25 spyderous Exp $ # Set TDFX_RISKY to "yes" to get 16-bit, 1024x768 or higher on low-memory # voodoo3 cards. @@ -573,13 +573,15 @@ host_def_setup() { fi if [ "$(gcc-minor-version)" -eq "4" ]; then - #to fix #57602 for now, thanks Spanky (broken sse2) - if test_flag -mno-sse2; then - append-flags -mno-sse2 - fi - # (#75067) broken sse3 - if test_flag -mno-sse3; then - append-flags -mno-sse3 + if [ "$(gcc-micro-version)" -le "4" ]; then + #to fix #57602 for now, thanks Spanky (broken sse2) + if test_flag -mno-sse2; then + append-flags -mno-sse2 + fi + # (#75067) broken sse3 + if test_flag -mno-sse3; then + append-flags -mno-sse3 + fi fi fi |