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