Subject: Re: CVS commit: xsrc/xfree/xc/config/cf
To: None <macallan@NetBSD.org>
From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
List: source-changes
Date: 12/19/2006 20:37:58
macallan@NetBSD.org wrote:
> Module Name: xsrc
> Committed By: macallan
> Date: Tue Dec 19 03:49:22 UTC 2006
>
> Modified Files:
> xsrc/xfree/xc/config/cf: NetBSD.cf
>
> Log Message:
> build modular XFree86 on shark
---
/* arm specific options */
-#ifdef armArchitecture
+#ifdef ArmArchitecture
# undef DefaultCCOptions
# define DefaultCCOptions -ansi -Dasm=__asm -fsigned-char \
- -fomit-frame-pointer
-#endif /* armArchitecture */
+ -fomit-frame-pointer -march=armv4 \
+ -mtune=strongarm -D__arm__
+#endif /* ArmArchitecture */
---
Is these flags okay for acorn32 Xserver and acorn26 clients?
---
/* NetBSD >= 1.5 has setusercontext() */
#if OSMajorVersion == 1 && OSMinorVersion >= 5 || OSMajorVersion > 1
+#if !defined(sharkArchitecture)
#define HasSetUserContext YES
#endif
+#endif
---
Is this really shark specific?
Anyway, you should also update Makefiles under src/x11.
---
Izumi Tsutsui