Skip to Content.
Sympa Menu

sm-commit - Re: [SM-Commit] GIT changes to master grimoire by Martin Spitzbarth (e65c06dc6f618dc61a53247cf910a018e883f8f6)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Jaka Kranjc <lynx AT mages.ath.cx>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: Re: [SM-Commit] GIT changes to master grimoire by Martin Spitzbarth (e65c06dc6f618dc61a53247cf910a018e883f8f6)
  • Date: Mon, 21 Jan 2008 16:20:39 +0100

On Monday 21 of January 2008 15:57:28 Martin Spitzbarth wrote:
> @@ -1,8 +1,16 @@
> -if ! grep -q "ASM=" $SPELL_CONFIG; then
> +# asm routines are only intended for ia32, so they can be disabled
> +# on other architectures without asking the user.
> +if [[ ${SMGL_COMPAT_ARCHS[0]} == "32" ]] ||
> + [[ ${SMGL_COMPAT_ARCHS[0]} == "ia32" ]]
"ia32" is only a 32bit arch, so the first check is enough. It would match on
the second level anyway (${SMGL_COMPAT_ARCHS[1]})

navaden@lynxlynx trunk $ ls /usr/share/archspecs/
32 64 null
navaden@lynxlynx trunk $ ls /usr/share/archspecs/32
arm ia32 ppc sparc superh

As for the old hacks, please change them into a config_query call.

--
We cannot command nature except by obeying her. --Sir Francis Bacon
Have a sourcerous day! www.sourcemage.org

Attachment: signature.asc
Description: This is a digitally signed message part.




Archive powered by MHonArc 2.6.24.

Top of Page