gallium/svga: Make sure -std=gnu99 is set.

This is a work-around until configure.ac stops touching CFLAGS.

Reviewed-by: Matt Turner <mattst88@gmail.com>
This commit is contained in:
Johannes Obermayr 2013-01-12 22:13:47 +01:00 committed by Matt Turner
parent 164a04ed1b
commit dc473c5f0a
2 changed files with 5 additions and 2 deletions

View File

@ -29,7 +29,8 @@ AM_CPPFLAGS = \
-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

View File

@ -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