Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Sep 2013 17:17:33 GMT
From:      mattbw@FreeBSD.org
To:        svn-soc-all@FreeBSD.org
Subject:   socsvn commit: r256900 - soc2013/mattbw/backend
Message-ID:  <201309041717.r84HHXa1050980@socsvn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mattbw
Date: Wed Sep  4 17:17:32 2013
New Revision: 256900
URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=256900

Log:
  Change the standard to gnu99.
  
  C99 causes GCC to become confused at pkg's C11/gnu99 usage of anonymous
  unions.
  

Modified:
  soc2013/mattbw/backend/Makefile

Modified: soc2013/mattbw/backend/Makefile
==============================================================================
--- soc2013/mattbw/backend/Makefile	Wed Sep  4 15:02:14 2013	(r256899)
+++ soc2013/mattbw/backend/Makefile	Wed Sep  4 17:17:32 2013	(r256900)
@@ -93,7 +93,7 @@
 CFLAGS+=	`pkg-config --cflags ${PKGS}`
 CFLAGS+=	-DPK_COMPILATION -g
 LDFLAGS+=	`pkg-config --libs ${PKGS}` -g
-CSTD?=		c99
+CSTD?=		gnu99
 
 group_map.c: groups group_map.awk
 	sort groups | awk -f group_map.awk > group_map.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309041717.r84HHXa1050980>