[devel] Как в спеке для CPU<Pentium4 добавить опцию в %configure...
    Sergey Shilov 
    hsvhome на mail.ru
       
    Ср Авг  3 10:58:01 UTC 2011
    
    
  
Всем доброго времени суток!
Имеется (erlang.spec)
...
%def_enable threads
...
%configure \
	--libdir=%_libexecdir \
	%{subst_enable threads} \
...
	%{subst_enable_to smp smp-support} \
...
Надо чтобы для i586 с разрешенными потоками к  configure добавилась опция --
enable-ethread-pre-pentium4-compatibility 
Вариант
...
%def_enable threads
...
%ifarch %ix86
%if_enabled threads
# сюда попадаем
%def_enable ethread-pre-pentium4-compatibility
%endif
%endif
%configure \
	--libdir=%_libexecdir \
	%{subst_enable threads} \
	%{subst_enable ethread-pre-pentium4-compatibility ethread-pre-pentium4-
compatibility} \
...
не срабатывает.
Как сделать правильно?
-- 
V.B.R Sergey Shilov.
    
    
Подробная информация о списке рассылки Devel