Репозитории ALT
S: | 0.4.3-alt2 |
5.1: | 0.4.2-alt4 |
4.1: | 0.4.2-alt4 |
4.0: | 0.4.2-alt4 |
3.0: | 0.4.1-alt1 |
Группа :: Графические оболочки/Window Maker
Пакет: wmpower
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: wmpower-0.4.2-x8664-fix.patch
Скачать
Скачать
diff --git a/wmpower/configure.in b/wmpower/configure.in
index 7b0c6ea..a23cb86 100644
--- a/wmpower/configure.in
+++ b/wmpower/configure.in
@@ -64,6 +64,12 @@ AC_PROG_RANLIB
if test "`echo $PROCESSOR | grep \"UltraSparc\"`" != ""; then
CPUFLAGS="-mcpu=ultrasparc"
fi
+ else
+ #Alas, we can set only generic arch optimizations
+ PROCESSOR=`uname -m | grep 86`
+ if test "$PROCESSOR" != ""; then
+ CPUFLAGS="-march=$PROCESSOR"
+ fi
fi
if test "$CPUFLAGS" != ""; then
echo "Applying architecture optimizations: "$CPUFLAGS