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

(-)a/gcc/configure (-5 / +5 lines)
Lines 7345-7355 Link Here
7345
		# the assembler.  Perhaps it's better to figure out whether
7345
		# the assembler.  Perhaps it's better to figure out whether
7346
		# arbitrary sections are supported and try the test.
7346
		# arbitrary sections are supported and try the test.
7347
		as_ver=`$gcc_cv_as --version 2>/dev/null | head -n 1`
7347
		as_ver=`$gcc_cv_as --version 2>/dev/null | head -n 1`
7348
		if echo "$as_ver" | grep GNU > /dev/null; then
7348
		if echo "$as_ver" | grep -q GNU; then
7349
			as_ver=`echo $as_ver | sed -e 's/GNU assembler \([0-9.][0-9.]*\).*/\1/'`
7349
			if echo "${as_ver##* }" | {
7350
			as_major=`echo $as_ver | sed 's/\..*//'`
7350
				IFS=. read -r as_major as_minor _
7351
			as_minor=`echo $as_ver | sed 's/[^.]*\.\([0-9]*\).*/\1/'`
7351
				test "$as_major" -eq 2 -a "$as_minor" -lt 11
7352
			if test $as_major -eq 2 -a $as_minor -lt 11; then
7352
			} then
7353
				gcc_cv_as_leb128="no"
7353
				gcc_cv_as_leb128="no"
7354
			fi
7354
			fi
7355
		fi
7355
		fi

Return to bug 446212