wok-stable rev 12008
glibc: fix arch optimisation (again)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Mar 06 00:02:58 2012 +0100 (2012-03-06) |
parents | 69556ecaa5d3 |
children | f555951980e7 |
files | glibc/receipt |
line diff
1.1 --- a/glibc/receipt Mon Mar 05 13:59:52 2012 -0800 1.2 +++ b/glibc/receipt Tue Mar 06 00:02:58 2012 +0100 1.3 @@ -31,7 +31,7 @@ 1.4 unset CFLAGS CXXFLAGS 1.5 case $ARCH in 1.6 i386|i486) 1.7 - echo "CFLAGS += -O2 -march=$ARCH -mtune=$ARCH" > configparms ;; 1.8 + echo "CFLAGS += -O2 -march=i486 -mtune=i486" > configparms ;; 1.9 *) 1.10 echo "CFLAGS += -O2 -march=$ARCH -mtune=$ARCH" > configparms ;; 1.11 esac 1.12 @@ -95,9 +95,9 @@ 1.13 unset CFLAGS CXXFLAGS 1.14 case "$ARCH" in 1.15 i386|i486) 1.16 - echo "CFLAGS += -O2 -march=i486 -mtune=native" > configparms ;; 1.17 + echo "CFLAGS += -O2 -march=i486 -mtune=i486" > configparms ;; 1.18 *) 1.19 - echo "CFLAGS += -O2 -march=$ARCH -mtune=native" > configparms ;; 1.20 + echo "CFLAGS += -O2 -march=$ARCH -mtune=$ARCH" > configparms ;; 1.21 esac 1.22 { $src/configure \ 1.23 --disable-profile \