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:
committed by
Matt Turner
parent
164a04ed1b
commit
dc473c5f0a
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user