Re: [PATCH libdrm v2] meson, configure: include config.h automatically

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 1 February 2018 at 12:10, Eric Engestrom <eric.engestrom@xxxxxxxxxx> wrote:
> This will prevent any more missing `#include "config.h"` bug, at the
> cost of having to recompile some files that didn't need to be when
> changing build options.
>
> Signed-off-by: Eric Engestrom <eric.engestrom@xxxxxxxxxx>
> ---
> v2: forgot to `make clean` when testing autotools...
>     needed to move the CFLAGS line after all compile tests in
>     configure.ac, and `+=` doesn't work, so using `CFLAGS="$CFLAGS foo"`
>     instead. (nothing besides configure.ac changed)
I'm not sure how well this will work with non gcc/clang, yet anyone
using those compilers is welcome to send us a patch ;-)

Reviewed-by: Emil Velikov <emil.velikov@xxxxxxxxxxxxx>

-Emil
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/dri-devel




[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux