On 23 March 2016 at 04:47, Alexandre Courbot <[email protected]> wrote: > DRI2 detection could fail if configure is invoked with a sysroot passed > as CFLAGS. Ideally configure should invoke gcc with the sysroot argument > passed to the configure script, but for some reason this is not done by > AC_COMPILE_IFELSE. > > Fix this by ensuring CFLAGS are preserved when checking for stuff. > > Signed-off-by: Alexandre Courbot <[email protected]> Nice one Alexandre. In practise one should honour the user provided CFLAGS regardless of what they are needed for. Props to going through and fixing all the cases !
Reviewed-by: Emil Velikov <[email protected]> -Emil _______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: https://lists.x.org/mailman/listinfo/xorg-devel
