[Xorg-driver-geode] proposal: always build with -march=geode

Martin-Éric Racine q-funk at iki.fi
Tue Jun 22 13:41:32 PDT 2010


On Tue, Jun 22, 2010 at 11:27 PM, Gaetan Nadon <memsize at videotron.ca> wrote:
> On Tue, 2010-06-22 at 22:12 +0300, Martin-Éric Racine wrote:
>
> In addition to exiting gracefully with a warning at ./configure time
> if the build host is non-x86, what if we enforced -march=geode if GCC
>
> You may want to look at AX_GCC_X86_CPUID and AX_GCC_ARCHFLAG which would do
> that for you.
> http://www.gnu.org/software/autoconf-archive/The-Macros.html#The-Macros

Unless I misunderstood the description, these macros guess the target
based on the build host's architecture?

Martin-Éric


More information about the Xorg-driver-geode mailing list