Disable -ansi in Makefile.linux

This commit is contained in:
Thomas Bernard 2012-06-08 20:17:35 +02:00
parent 28746efd66
commit b32c1c7cc6
2 changed files with 7 additions and 3 deletions

View File

@ -1,4 +1,8 @@
$Id: Changelog.txt,v 1.288 2012/05/31 09:32:39 nanard Exp $
$Id: Changelog.txt,v 1.289 2012/06/08 18:16:30 nanard Exp $
2012/06/08:
Disable -ansi CFLAGS in Makefile.linux because recent iptables headers
make use of typeof keywork which is a GCC extension.
2012/05/31:
Improvements in autodetecting firewall under (Free)BSD

View File

@ -1,4 +1,4 @@
# $Id: Makefile.linux,v 1.71 2012/05/23 08:46:14 nanard Exp $
# $Id: Makefile.linux,v 1.72 2012/06/08 18:16:30 nanard Exp $
# MiniUPnP project
# (c) 2006-2012 Thomas Bernard
# http://miniupnp.free.fr/ or http://miniupnp.tuxfamily.org/
@ -28,7 +28,7 @@ CFLAGS += -D_GNU_SOURCE
CFLAGS += -Wall
CFLAGS += -Wextra -Wstrict-prototypes -Wdeclaration-after-statement
#CFLAGS += -Wno-missing-field-initializers
CFLAGS += -ansi
#CFLAGS += -ansi # iptables headers does use typeof which is a gcc extension
CC ?= gcc
RM = rm -f
INSTALL = install