From dc473c5f0a2f0dafd85a1b7bef22b3f4f39596bb Mon Sep 17 00:00:00 2001 From: Johannes Obermayr Date: Sat, 12 Jan 2013 22:13:47 +0100 Subject: gallium/svga: Make sure -std=gnu99 is set. This is a work-around until configure.ac stops touching CFLAGS. Reviewed-by: Matt Turner --- src/gallium/winsys/svga/drm/Makefile.am | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/gallium/winsys') diff --git a/src/gallium/winsys/svga/drm/Makefile.am b/src/gallium/winsys/svga/drm/Makefile.am index 452af3ae034..53bbcc244fd 100644 --- a/src/gallium/winsys/svga/drm/Makefile.am +++ b/src/gallium/winsys/svga/drm/Makefile.am @@ -30,7 +30,9 @@ AM_CPPFLAGS = \ -I$(top_srcdir)/src/gallium/drivers \ $(GALLIUM_CFLAGS) \ $(LIBDRM_CFLAGS) -AM_CFLAGS = -std=gnu99 -D_FILE_OFFSET_BITS=64 + +#On some systems -std= must be added to CFLAGS to be the last -std= +CFLAGS += -std=gnu99 -D_FILE_OFFSET_BITS=64 noinst_LTLIBRARIES = libsvgadrm.la -- cgit v1.2.3