ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Sergey Shilov <hsvhome@mail.ru>
To: devel@lists.altlinux.org
Subject: [devel] Как в спеке для CPU<Pentium4 добавить опцию в %configure...
Date: Wed, 3 Aug 2011 13:58:01 +0300
Message-ID: <201108031358.02102.hsvhome@mail.ru> (raw)

Всем доброго времени суток!

Имеется (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.


             reply	other threads:[~2011-08-03 10:58 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-03 10:58 Sergey Shilov [this message]
2011-08-03 11:14 ` Sergey V Turchin
2011-08-03 11:42   ` Sergey Shilov
2011-08-03 12:04     ` Sergey V Turchin
2011-08-03 13:10       ` Sergey Shilov
2011-08-03 13:29         ` Sergey V Turchin
2011-08-03 14:48           ` Sergey Shilov
2011-08-03 15:02             ` Sergey V Turchin
2011-08-03 18:46               ` Sergey Shilov
2011-08-04 10:57                 ` Sergey V Turchin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201108031358.02102.hsvhome@mail.ru \
    --to=hsvhome@mail.ru \
    --cc=devel@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git