summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/svga/Makefile.am
diff options
context:
space:
mode:
authorJohannes Obermayr <johannesobermayr@gmx.de>2013-01-12 22:13:47 +0100
committerMatt Turner <mattst88@gmail.com>2013-01-14 13:32:13 -0800
commitdc473c5f0a2f0dafd85a1b7bef22b3f4f39596bb (patch)
treeba1db26fe79805ebbaa78ffb4c289a61a147db4b /src/gallium/drivers/svga/Makefile.am
parent164a04ed1bb712fd7cada24fbe899ec7fea28a51 (diff)
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>
Diffstat (limited to 'src/gallium/drivers/svga/Makefile.am')
-rw-r--r--src/gallium/drivers/svga/Makefile.am3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/svga/Makefile.am b/src/gallium/drivers/svga/Makefile.am
index e08a133bf71..fdaa3c8ebc4 100644
--- a/src/gallium/drivers/svga/Makefile.am
+++ b/src/gallium/drivers/svga/Makefile.am
@@ -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