wok rev 12006

glibc: fix arch optimisation
author Christophe Lincoln <pankso@slitaz.org>
date Mon Mar 05 22:26:11 2012 +0100 (2012-03-05)
parents 19d0f8eab6b6
children 69556ecaa5d3
files glibc/receipt
line diff
     1.1 --- a/glibc/receipt	Mon Mar 05 10:38:40 2012 -0800
     1.2 +++ b/glibc/receipt	Mon Mar 05 22:26:11 2012 +0100
     1.3 @@ -31,9 +31,9 @@
     1.4  	unset CFLAGS CXXFLAGS
     1.5  	case $ARCH in
     1.6  		i386|i486)
     1.7 -			echo "CFLAGS += -O2 -march=i486 -mtune=native" > configparms ;;
     1.8 +			echo "CFLAGS += -O2 -march=$ARCH -mtune=$ARCH" > configparms ;;
     1.9  		*)
    1.10 -			echo "CFLAGS += -O2 -march=$ARCH -mtune=native" > configparms ;;
    1.11 +			echo "CFLAGS += -O2 -march=$ARCH -mtune=$ARCH" > configparms ;;
    1.12  	esac
    1.13  
    1.14  	{ $src/configure \