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

Collapse All | Expand All

(-)xine-ui-0.9.10.ORG/configure.in (-40 lines)
Lines 479-524 Link Here
479
	CFLAGS="$CFLAGS -O3 -pipe -fomit-frame-pointer -malign-functions=4 -malign-loops=4 -malign-jumps=4 -malign-functions=4 $m_wm $m_psb -fexpensive-optimizations $f_si $f_nsa -ffast-math -funroll-loops -funroll-all-loops -finline-functions"
479
	CFLAGS="$CFLAGS -O3 -pipe -fomit-frame-pointer -malign-functions=4 -malign-loops=4 -malign-jumps=4 -malign-functions=4 $m_wm $m_psb -fexpensive-optimizations $f_si $f_nsa -ffast-math -funroll-loops -funroll-all-loops -finline-functions"
480
	DEBUG_CFLAGS="$DEBUG_CFLAGS -O3"
480
	DEBUG_CFLAGS="$DEBUG_CFLAGS -O3"
481
	
481
	
482
	dnl enable x86 specific parts of the code
483
484
	if test x"$sarchopt" != "xno"; then
485
	[
486
	    archopt_val=
487
488
	    case "$host_alias" in
489
	    i386-*) # *BSD return this even on a P III #-))
490
		archopt_val=i386 ;;
491
	    i486-*) # oh dear!
492
		archopt_val=i486 ;;
493
	    i586-*)
494
		archopt_val=pentium ;;
495
	    i686-*)
496
		archopt_val=pentiumpro
497
		if test x"$check_athlon" = "xyes"; then
498
		    if test -f /proc/cpuinfo; then
499
			modelname=`cat /proc/cpuinfo | grep "model\ name\	:" | sed -e 's/ //g' | cut -d':' -f2`
500
			case "$modelname" in
501
			*Athlon* | *Duron* | *K7*)
502
			    archopt_val="$k7cpu" ;;
503
			esac
504
		    fi 
505
		fi
506
		;;
507
	    k6-*)
508
		archopt_val=k6 ;;
509
	    k7-*)
510
		archopt_val=k7 ;;
511
	    athlon-*)
512
		archopt_val=athlon ;;
513
	    esac
514
515
	    if test x"$archopt_val" != x; then
516
		CFLAGS="$CFLAGS $sarchopt=$archopt_val"
517
		DEBUG_CFLAGS="$DEBUG_CFLAGS $sarchopt=$archopt_val"
518
	    fi
519
	]
520
	fi
521
522
    else
482
    else
523
	dnl add x86 specific cc CFLAGS
483
	dnl add x86 specific cc CFLAGS
524
	CFLAGS="$CFLAGS -O"
484
	CFLAGS="$CFLAGS -O"

Return to bug 3849