Cleanup settings of CFLAGS in Makefile
This commit is contained in:
parent
50ac3ae490
commit
2c2596c72a
|
@ -1,6 +1,9 @@
|
||||||
$Id: Changelog.txt,v 1.167 2012/04/20 14:13:10 nanard Exp $
|
$Id: Changelog.txt,v 1.168 2012/05/01 16:16:51 nanard Exp $
|
||||||
miniUPnP client Changelog.
|
miniUPnP client Changelog.
|
||||||
|
|
||||||
|
2012/05/01:
|
||||||
|
Cleanup settings of CFLAGS in Makefile
|
||||||
|
|
||||||
2012/04/20:
|
2012/04/20:
|
||||||
Allow to specify protocol with TCP or UDP for -A option
|
Allow to specify protocol with TCP or UDP for -A option
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# $Id: Makefile,v 1.93 2012/04/09 12:49:26 nanard Exp $
|
# $Id: Makefile,v 1.95 2012/05/01 16:16:50 nanard Exp $
|
||||||
# MiniUPnP Project
|
# MiniUPnP Project
|
||||||
# http://miniupnp.free.fr/
|
# http://miniupnp.free.fr/
|
||||||
# (c) 2005-2011 Thomas Bernard
|
# (c) 2005-2011 Thomas Bernard
|
||||||
|
@ -20,8 +20,14 @@ endif
|
||||||
|
|
||||||
CC ?= gcc
|
CC ?= gcc
|
||||||
#AR = gar
|
#AR = gar
|
||||||
#CFLAGS = -O -Wall -g -DDEBUG -ansi -Wstrict-prototypes
|
#CFLAGS = -O -g -DDEBUG
|
||||||
CFLAGS ?= -O -Wall -DNDEBUG -DMINIUPNPC_SET_SOCKET_TIMEOUT -ansi -Wstrict-prototypes -D_BSD_SOURCE
|
CFLAGS ?= -O
|
||||||
|
CFLAGS += -Wall
|
||||||
|
CFLAGS += -W -Wstrict-prototypes
|
||||||
|
CFLAGS += -fno-common
|
||||||
|
CFLAGS += -DMINIUPNPC_SET_SOCKET_TIMEOUT
|
||||||
|
CFLAGS += -D_BSD_SOURCE -D_POSIX_C_SOURCE=1
|
||||||
|
CFLAGS += -ansi
|
||||||
# -DNO_GETADDRINFO
|
# -DNO_GETADDRINFO
|
||||||
INSTALL = install
|
INSTALL = install
|
||||||
SH = /bin/sh
|
SH = /bin/sh
|
||||||
|
|
Loading…
Reference in New Issue