This is a work-around until configure.ac stops touching CFLAGS.
Reviewed-by: Matt Turner <mattst88@gmail.com>
-I$(top_srcdir)/include \
$(GALLIUM_CFLAGS)
-AM_CFLAGS = -std=gnu99
+#On some systems -std= must be added to CFLAGS to be the last -std=
+CFLAGS += -std=gnu99
noinst_LTLIBRARIES = libsvga.la
-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