package/libdrm: fix building if GCC's C standard is not gnu99
authorBernd Kuhls <bernd.kuhls@t-online.de>
Thu, 2 Jul 2015 18:05:02 +0000 (20:05 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 4 Jul 2015 12:14:01 +0000 (14:14 +0200)
commit24147efb21de3f38d919ee45cf997434b096539c
tree9d442cdb0c5852fb032e473b811fe1471a5a157c
parent0d67ffe596dc195ea5389485f5ca5b374a943611
package/libdrm: fix building if GCC's C standard is not gnu99

Fixes
checking for /home/fli4l/buildroot/output/host/usr/bin/i586-buildroot-linux-uclibc-gcc option to accept ISO C99... unsupported
configure: error: Building libdrm requires C99 enabled compiler

using this defconfig
BR2_KERNEL_HEADERS_4_0=y
BR2_BINUTILS_VERSION_2_25=y
BR2_TOOLCHAIN_BUILDROOT_CXX=y
BR2_PACKAGE_LIBDRM=y

Patch inspired by
http://git.buildroot.net/buildroot/commit/?id=5cf5b390385fb6325485e37dc9d38e1e3ac1f091

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/libdrm/libdrm.mk