mirror of
https://github.com/status-im/miniupnp.git
synced 2025-02-27 13:00:30 +00:00
add -Wdeclaration-after-statement to CFLAGS
This commit is contained in:
parent
e0efe74a7c
commit
c3d979a9cd
@ -1,4 +1,4 @@
|
|||||||
# $Id: Makefile.linux,v 1.63 2012/04/14 22:26:10 nanard Exp $
|
# $Id: Makefile.linux,v 1.64 2012/04/20 12:54:01 nanard Exp $
|
||||||
# MiniUPnP project
|
# MiniUPnP project
|
||||||
# (c) 2006-2012 Thomas Bernard
|
# (c) 2006-2012 Thomas Bernard
|
||||||
# http://miniupnp.free.fr/ or http://miniupnp.tuxfamily.org/
|
# http://miniupnp.free.fr/ or http://miniupnp.tuxfamily.org/
|
||||||
@ -20,8 +20,8 @@
|
|||||||
# ./configure them and build them then miniupnpd will build using :
|
# ./configure them and build them then miniupnpd will build using :
|
||||||
# $ IPTABLESPATH=/path/to/iptables-1.4.1 make -f Makefile.linux
|
# $ IPTABLESPATH=/path/to/iptables-1.4.1 make -f Makefile.linux
|
||||||
#
|
#
|
||||||
#CFLAGS = -Wall -O -D_GNU_SOURCE -g -DDEBUG -ansi
|
#CFLAGS = -Wall -O -D_GNU_SOURCE -g -DDEBUG -fno-strict-aliasing -Wstrict-prototypes -Wdeclaration-after-statement -ansi
|
||||||
CFLAGS ?= -Wall -Os -D_GNU_SOURCE -fno-strict-aliasing -Wstrict-prototypes
|
CFLAGS ?= -Wall -Os -D_GNU_SOURCE -fno-strict-aliasing -Wstrict-prototypes -Wdeclaration-after-statement -ansi
|
||||||
CC ?= gcc
|
CC ?= gcc
|
||||||
RM = rm -f
|
RM = rm -f
|
||||||
INSTALL = install
|
INSTALL = install
|
||||||
|
Loading…
x
Reference in New Issue
Block a user