Module: Mesa Branch: master Commit: dc473c5f0a2f0dafd85a1b7bef22b3f4f39596bb URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=dc473c5f0a2f0dafd85a1b7bef22b3f4f39596bb
Author: Johannes Obermayr <[email protected]> Date: Sat Jan 12 22:13:47 2013 +0100 gallium/svga: Make sure -std=gnu99 is set. This is a work-around until configure.ac stops touching CFLAGS. Reviewed-by: Matt Turner <[email protected]> --- src/gallium/drivers/svga/Makefile.am | 3 ++- src/gallium/winsys/svga/drm/Makefile.am | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/gallium/drivers/svga/Makefile.am b/src/gallium/drivers/svga/Makefile.am index e08a133..fdaa3c8 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 diff --git a/src/gallium/winsys/svga/drm/Makefile.am b/src/gallium/winsys/svga/drm/Makefile.am index 452af3a..53bbcc2 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 _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
