[Pixman] [PATCH v2] build: improve control logic for enabling MMI.

Adam Jackson ajax at redhat.com
Fri Mar 6 20:21:47 UTC 2020


On Fri, 2020-03-06 at 19:28 +0800, Shiyou Yin wrote:
> From: Yin Shiyou <yinshiyou-hf at loongson>
> 
> 1. Replace LS_CFLAGS with MMI_CFLAGS to express its intention more accurately.
>    LS_CFLAGS is still available, but it is not recommended.
> 2. Improve the control logic for enabling MMI.
> 
> Three essential conditions for enabling MMI:
> 1) user have not specify --disable-loongson-mmi.
> 2) MMI options has been specified by MMI_CFLAGS,CC or compiler's default setting.
> 3) compiler supports these MMI options.

It still seems unfortunate to me to need to choose. There's plenty of
code in the world that can handle the CPU having either SSE or 3DNow, I
don't really see why we should have to choose to build pixman for a
specific generation of Loongson.

- ajax



More information about the Pixman mailing list